Progressive-Victory / crm-bot

Internal Discord bot for member utilities
https://progress.win/
MIT License
3 stars 4 forks source link

Moderator Commands #47

Open Lewdcario opened 1 year ago

Lewdcario commented 1 year ago

Hold ticket because it's a somewhat big ask in the long run given the requirement to migrate existing data (unless we want to discard it). When a moderator action is performed that inhibits the user's access to the server (mute, temp ban, ban, timeout event), we want to unsubscribe them from relevant services, such as our mailing list, spoke & callhub. When the command is finished if it's a temporary command, that should be undone. We want the following commands:

And we want to listen to timeout events to do the relevant case documentation This should utilise the database to store moderation history, like the following example

image

Since this bot is for one server, we should add an environment variable for the moderation channel, like MODLOGS_CHANNEL_ID.