(Sysadmin): Add guild and user blacklist.

v2 -> v3 data migration for the blacklist tables.
Added blacklists and blacklist commands
Added bot admin level to help groups.
This commit is contained in:
2021-09-28 20:54:22 +03:00
parent b792b081b8
commit 9ae0de034f
14 changed files with 414 additions and 12 deletions

View File

@@ -170,6 +170,10 @@ async def workout_voice_tracker(client, member, before, after):
if member.bot:
return
if member.id in client.objects['blacklisted_users']:
return
if member.id in client.objcts['ignored_members'][member.guild.id]:
return
# Check whether we are moving to/from a workout channel
settings = GuildSettings(member.guild.id)