Skip to content

martin0024/ncs_discord_bot

Repository files navigation

Installation

Install dependencies

  npm install

Start the server

  npm start

Usage/Examples

Create .env file

  touch .env

Add this to the file

TOKEN=yourtoken

Config

Path : ./config.exemple.json - Duplicate and rename it config.json

{
  "prefix": "$",
  "embed": {
    "color": "#4D6FFF"
  },
  "channelMessageJoin": "CHANNEL_ID",
  "channelMessageLeave": "CHANNEL_ID",
  "roles": [
    {
      "label": "Role 1",
      "description": "Add role 1",
      "value": "ROLE_ID"
    },
    {
      "label": "Role 2",
      "description": "Add role 2",
      "value": "ROLE_ID_2"
    },
    {
      "label": "Role 2",
      "description": "Add role 3",
      "value": "ROLE_ID_3"
    }
  ],
  "botStatusMessage": "the devs."
}
Key Description Default Required
prefix This is the prefix of the bot. $ True
color The color of the embeds. #4D6FFF True
roles This is only for the system of roles (with menu). None True if you use this system.
roles[].label The name of the options. None True
roles[].description The description of the options. None True
roles[].value Need to be an id role, only. None True
channelMessageJoin Need to be an id of a channel (when the user join the server) None True
channelMessageLeave Need to be an id of a channel (when the user leave the server) None True
botStatusMessage Discord status of your bot None True

About

Discord Bot of the NCS's Discord server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published