Code-Society-Lab / grace

The official Code Society Discord bot
GNU General Public License v3.0
18 stars 12 forks source link

Add simple Moderation extension - V1 #44

Closed Shadwz17 closed 2 years ago

Shadwz17 commented 2 years ago

I added a simple moderation extension that allows the staff members to ban, kick, unban and purge messages. This is the first version of the moderation extension I'm doing so maybe in the future I'll add some other commands.

Images: https://imgur.com/022bhNw - Unban - Usage ::unban ID https://imgur.com/WfhqTSd - Purge - Usage ::purge NUMBER_OF_MESSAGES https://imgur.com/jM5NFDn - Ban - Usage ::ban (You need to tag the person)

There is no kick image but it's the same as all the ones above.

SoyBison commented 2 years ago

We added some thoughts on how to implement the Mod Logs @Shadwz17. We think you should A. Add mod-logs to the database (876592591657918514). B. create a function at the bot level for logging an action.

Welcome to scope creep woo!