aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/execute.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/execute.py b/modules/execute.py
index 2f7b293..024c1ec 100644
--- a/modules/execute.py
+++ b/modules/execute.py
@@ -64,6 +64,7 @@ class ExecuteCog(commands.Cog, object):
self.last_messaged = defaultdict(lambda: datetime.fromtimestamp(0))
# noinspection PyMethodMayBeStatic
+ @commands.Cog.listener()
async def on_message(self, message: Message):
if message.guild is None:
return