A Discord bot for the http://berlinminijam.de.
!idea [IDEA]
- create a text and voice channel for the idea in the brainstorming category!team [TEAM NAME]
- create a text and voice channel for the team in the team category!archive [PREFIX]
- moves all text channels from the brainstorming/team sections into the respective archive sections, adding "PREFIX-" in front of them. Removes all voice channels in the brainstorming/team sections. Can only be called by members who have the MANAGE_CHANNELS permission.
- Install Node.js: https://discordjs.guide/preparations/#installing-node-js
- Clone this repository.
- Open a console into the repository folder and run
npm install
. - Set up your bot application: https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot
- Rename
.env.template
to.env
and put your bot token from the last step afterBOT_TOKEN=
. - Add your server to the
guildDataById
section ofconfig.json
, filling in the category IDs (turn on developer mode in User Settings -> Appearance -> Enable Developer Mode and then get the category IDs via right click and "Copy ID"). - Add your bot to your server via this link, replacing YOURCLIENTID with the client ID of your bot application from step 4: https://discordapp.com/api/oauth2/authorize?client_id=YOURCLIENTID&permissions=16&scope=bot
- Start the bot via
node .
.