It does not much things right now, but it can kick people by giving them a role so they can be muted instead of kicked. Allowing mods to be able to moderate in a nicer way.
Below are some todo's. Feel free to step in and just add to the bot.
- Pull the code
- npm install
- place a "discord.key" file in the Project root. Containing your Discord developer Key in Plaintext
- On First Run the Required Files/Folders are created.
- Restart and have fun
Sure, go into src/discord/commands and look how the structure is build and extend the functionality like you need it
Want to develope the online api/website? Look into src/server
- Add Roles Via Reactions
Configure which roles can be added with what reaction19.July.2020Remove roles from that configuration01.August.2020Add reactions to MessageHave a Database for all Messages that can add permissionAdd Permission when reacted08.August.2020Remove when reaction is rewoked12.August.2020
Mute should add to the muted Database- Allow certain commands only in Bot Channels
Allow certain commands only by certain roles- Permissions
User wins always, if the user is denied, the role can't allow itPermission databaseSet Permissions28.June.2020Check for Permissions28.June.2020Remove PermissionCommand09.July.2020
- Respond to certain commands only in a Bot Channel
- Create and Save ID of Bot Channel in Config
Watcher for Muted User creatingWatcher should run periodically (5s?)Check if Timestamp + duration is < nowIf it is, unmute i.e. remove role- If it is, then write into a Botchannel
- Get and set server port in main,json
Default Setup Vars in each command to setup them all at once for a new Server- Use Default Emotes