Skip to content

gabrielcilico/discord-bot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-bot-template

A default template for discord bot, feel free to use.

🕸️ Configuration

Open config.js located in the root.

Configuration fields

Field Description
name BOT name
app.token Discord OAuth Token. (docs)
app.credits This can be used in the footer of Embed Messages.
app.client Client ID (Discord)
app.guild Guild ID
colors Add your default colors
opt Can be used to set default options for yout bot.
module.exports = {
  name: "Template BOT",

  app: {
    token: "DISCORD_TOKEN",
    credits: "Made with ❤️ by cilico",
    client: "CLIENT_ID",
    guild: "GUILD_ID",
  },

  colors: {
    // Must have the colors that will be used in Embed Messages.
  },

  opt: {},
};

Feel free to add new fields to this file.


✔️ Installation

Prerequisites

Installation command

yarn

OR

npm install

✔️ Run Local

⚠️ Edit config.js first!

yarn start

📚 Reference documentation


Remember to give proper credits in your project.

Made with ❤️ by cilico.

About

A template for discord bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published