Skip to content

franciscosilva00/deno-discordjs-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord.js Deno Boilerplate

Deno Version Discord.js Version

A minimalistic boilerplate for creating Discord bots using Deno and Discord.js.

Features

  • 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.

Prerequisites

Getting Started

  1. Clone this repository:
git clone https://github.com/franciscosilva00/deno-discordjs-boilerplate.git my-discord-bot
  1. Navigate to the project directory:
cd my-discord-bot
  1. Install dependencies:
deno cache src/main.ts
  1. Rename .env.example to .env and add your Discord application token and application ID.
  2. Deploy commands:
deno task deploy
  1. Start the bot in development mode, watching for file changes:
deno task dev
  1. Start the bot
deno task run