added whitelist and more
This commit is contained in:
@@ -283,6 +283,10 @@ class Automod(commands.Cog):
|
||||
if not config or not config.automod_enabled:
|
||||
return
|
||||
|
||||
# Check if user is whitelisted
|
||||
if message.author.id in config.whitelisted_user_ids:
|
||||
return
|
||||
|
||||
result: AutomodResult | None = None
|
||||
|
||||
# Check banned words
|
||||
|
||||
Reference in New Issue
Block a user