The bot we use to manage our discord server.
This bot can do a few things :
- Create temporary voice channels
- Manage roles (WIP)
Step 1 : clone the git repository git@github.com:Corpauration/discord-bot.git
Step 2 : move to the corresponding directory : cd discord-bot
Step 3 : install dependencies : npm install
Step 4 : create a .env
at the root of the project and paste these contents :
TOKEN=<bot-token-here>
CLIENT_ID=<bot-id-here>
GUILD_ID=<server-id-here>
There are a few setting you can change in the config.json
file :
- prefix : the prefix that will be added to any temporary voice channel
- trigger : the name of the channel that will act as the trigger for creating a temporary VC
This bot was written with Node.js version 16.8.0 using discord.js version 13.1.0
Lucas DRAESCHER (draescherl@cy-tech.fr)
Rémy Ollivier (ollivierre@cy-tech.fr)