Example Bot is a project that I created to make the process of creating discord bot easier for me. To create a new Discord Bot, I simply clone this repository which includes Command and Listener handling, utility classes, and more.
- yarn - My preferred package manager, used as an npm alternative.
- typescript - Needed to run TypeScript (since discord.js isn't supported by deno).
- ts-node - Helps me test the bot without needing to build it. Only used in testing, not in production.
- discord.js - Used for easily interacting with Discord's API using OOP.
- Clone the repository.
- Run
yarn install
ornpm install
to install the dependencies. - Change the token in
config.json
with your bot token. - Run
yarn dev
ornpm run dev
when testing, andyarn start
ornpm run start
in production.