modmail icon indicating copy to clipboard operation
modmail copied to clipboard

#101 Adds reason to blacklist

Open SnowyJaguar1034 opened this issue 3 years ago • 1 comments

Summary I updated the schemas.sql to add a blocked table which logs blocked member IDs, the guild their blocked from and the reason they were blocked.

I then updated core.py to accept a reason argument as part of the blacklist command. I updated the command to add in functionality of writing to the new blocked table however I kept in the old functionality for now. and .

I then subsequently updated direct_message.py, modmail_channel.py, and tools.py to be able to read the blocked table entries in any places it was already checking the blacklist entries of the data table.

Finally I updated core.py's whitelist and blacklistclear commands to remove one and all entries respectively.

Related issue(s) #101 Add a reason for blocking users

Additional context Add any other context or screenshots about the pull request here.

SnowyJaguar1034 avatar Feb 14 '22 22:02 SnowyJaguar1034

I hope I got all of the times blacklist was used

SnowyJaguar1034 avatar Feb 14 '22 22:02 SnowyJaguar1034

Closing due to age.

chamburr avatar Dec 25 '22 11:12 chamburr