A minimalistic boilerplate for creating Discord bots using Deno and Discord.js.
- Utilizes the power of Deno, a secure runtime for JavaScript and TypeScript.
- Based on the latest version of Discord.js for interacting with the Discord API.
- Get started quickly with a simple and organized project structure.
- Includes example commands and event handlers to kickstart your bot development.
- Deno
- Discord application token (You can get one by creating a new bot)
- Clone this repository:
git clone https://github.com/franciscosilva00/deno-discordjs-boilerplate.git my-discord-bot
- Navigate to the project directory:
cd my-discord-bot
- Install dependencies:
deno cache src/main.ts
- Rename
.env.example
to.env
and add your Discord application token and application ID. - Deploy commands:
deno task deploy
- Start the bot in development mode, watching for file changes:
deno task dev
- Start the bot
deno task run