Skip to content

cybunayog/discord-node-chat-bot-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Node Chat Bot Template

A simple Discord bot made with Node.js

Prerequisites

Install Node.js

Getting started

Install the project dependencies: npm install

Create a Discord bot

Add your bot to a server

  • Create an invite link for your bot (Instructions)
  • Send your invite link to the server owner and have them grant access to the bot

Add your bot to the #general channel

This is the CONFIG object mentioned above:

// Config properties
const CONFIG = {
    token: process.env.BOT_TOKEN,
    channels: {
        general: "GENERAL CHANNEL ID GOES HERE",
    },
};

NOTE: The token is stored inside an .env file.

Dependencies

"chalk": "^4.1.0",
"discord.js": "^12.3.1",
"node": "^14.8.0"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%