Update ccrole.py (#60)

Thanks for the help!
pull/69/head
Ianardo DiCaprio 6 years ago committed by bobloy
parent b20b098076
commit aa25cb1f3c

@ -235,7 +235,8 @@ class CCRole(Cog):
for page in pagify(cmd_list, delims=[" ", "\n"]): for page in pagify(cmd_list, delims=[" ", "\n"]):
await ctx.author.send(box(page)) await ctx.author.send(box(page))
await ctx.send("Command list DM'd") await ctx.send("Command list DM'd")
@commands.Cog.listener()
async def on_message(self, message): async def on_message(self, message):
if len(message.content) < 2 or message.guild is None: if len(message.content) < 2 or message.guild is None:
return return

Loading…
Cancel
Save