From aa25cb1f3c0d6f62ec65b9be84cfefb0ad9712a5 Mon Sep 17 00:00:00 2001 From: Ianardo DiCaprio <43935737+Ianardo-DiCaprio@users.noreply.github.com> Date: Thu, 18 Jul 2019 19:29:11 +0100 Subject: [PATCH] Update ccrole.py (#60) Thanks for the help! --- 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