diff --git a/cogs/moderation.py b/cogs/moderation.py index d1dd8a1a..1c8e01aa 100644 --- a/cogs/moderation.py +++ b/cogs/moderation.py @@ -368,6 +368,7 @@ class Moderation(Cog): pass # Send the embed to the modlogs channel else: + # Get the modlogs channel modlogs_channel = self.bot.get_channel(int(guild))