Quickly set up and start building your Discord bot with this simple, ready-to-use template.
Before starting, config the .env file in the root directory and set the following variables:
APPLICATION_ID = REPLACE_WITH_YOUR_APPLICATION_ID
TOKEN = REPLACE_WITH_YOUR_TOKEN
GUILD_ID = REPLACE_WITH_YOUR_GUILD_IDgit clone https://github.com/OuOSama/Discord-bot.git my-bot
cd my-botnpm installnpm run start
Deploy the commands to the global server, making them available across all guilds your application is connected to
npm run deploy