Fix default value for guild moderation configuration check
This commit is contained in:
parent
cea7c2926b
commit
a8224ed9b7
@ -1852,7 +1852,7 @@ CRITICAL: Do NOT output anything other than the required JSON response.
|
||||
print(f"Ignoring message {message.id} from DM.")
|
||||
return
|
||||
# Check if moderation is enabled for this guild
|
||||
if not get_guild_config(message.guild.id, "ENABLED", True):
|
||||
if not get_guild_config(message.guild.id, "ENABLED", False):
|
||||
print(
|
||||
f"Moderation disabled for guild {message.guild.id}. Ignoring message {message.id}."
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user