Skip to content

crazyball/discord-bot-v14

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-bot-v14

Template for a Discord Bot v14


To install bot :

npm install

To configure bot :

Create a new bot on https://discord.com/developers Add following scopes to bot :

  • bot
  • applications.commands Add permissions to bot depending on what you want. For test purpose on a private discord you can use Administrator Generate a Token for you bot

Copy .env.dist to .env file Fill you discord bot token and discord application id in it

if you want to activate dev mode, set to 1 .env DEVMODE var. It will enable /ping tool command


To launch bot :

npm run test

To launch bot in dev mode (watch files) :

npm run start:dev