From 755e1f2864ce15032e3bf4364ca9125fb56b6429 Mon Sep 17 00:00:00 2001 From: Ianardo DiCaprio <43935737+Ianardo-DiCaprio@users.noreply.github.com> Date: Thu, 18 Jul 2019 17:24:16 +0100 Subject: [PATCH] Update ccrole.py --- ccrole/ccrole.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccrole/ccrole.py b/ccrole/ccrole.py index 149deb7..3f3be5e 100644 --- a/ccrole/ccrole.py +++ b/ccrole/ccrole.py @@ -235,7 +235,8 @@ class CCRole(Cog): for page in pagify(cmd_list, delims=[" ", "\n"]): await ctx.author.send(box(page)) await ctx.send("Command list DM'd") - + + @commands.Cog.listener() async def on_message(self, message): if len(message.content) < 2 or message.guild is None: return