A really simple, homemade discord bot which plays music, and does math.
npm install
This command installs all the required dependencies.
We'll need a .env
file which stores bot's token and some config to be able to run the bot.
Please take a look at .env-sample to setup your own .env
file.
Run the bot using this command
npm run dev
- Create an application and a bot in Discord Developer Portal.
- Copy the bot's token and put it in the
.env
file. - Run it!
commands-list.js
- All the commands' definition.
deploy-commands.js
- Script to deploy commands to servers. This script should be run only after updating/adding commands.
src/commands/
- Code for commands go here.
src/index.ts
- Where everything starts.
Pull requests are welcome but please process with small commit.