From 1f78b45cfecaaa6ad0700e6938023afbce6072cc Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 28 Jul 2020 10:30:34 +0100 Subject: [PATCH] Restructured code --- cogs/moderation.py | 1 + 1 file changed, 1 insertion(+) 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))