A discord bot to make my life a little easier.
These steps are assuming you have made a bot in the discord developer portal - you'll need the unique token from there to use this! Make sure to select the appropriate permissions and add the bot your server before following these steps.
- Download the repo
- Create a
.envfile with the following variables:
BOT_TOKEN=[bot token from discord dev portal]
GUILD_ID=[server/guild token]
CLIENT_ID=[bot's client id]
- Run
npm install - Run
npm start - Profit! You should see the following messages appear in the console output:
Registering slash commands...
Slash commands registered.
✔️ BotName#0000 has connected!