A default template for discord bot, feel free to use.
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.
Prerequisites
- Install NodeJs
Installation command
yarn
OR
npm install
yarn start
Remember to give proper credits in your project.
Made with ❤️ by cilico.