This is the code for the Pokéclicker Discord Bot. In order to run it locally for development, you must set up a Discord Application with a bot token, and invite it to a server that you can manage.
Steps for running:
- Copy
_config.js
toconfig.js
and change the settings - Run
npm ci
to install dependencies - Run
npm start
to start the server - Open the invite link provided in the console, and add the bot to a server, then grant it a role with the permissions listed below
- Manage Roles - Allow the bot to assign and unassign roles with
!mute
,!unmute
, and!scripting
and/roles
- Read Text Channels & See Voice Channels - Needs this for any channel you want it to manage messages
- Send Messages
- Manage Messages - Allow the bot to delete messages
- Embedded Links - Allows the bot to use embeds
- Attach files - Allow the bot to post database backups in the backup channel
- Mention
@everyone
,@here
and All Roles