Update ccrole.py
This commit is contained in:
parent
b20b098076
commit
755e1f2864
@ -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…
x
Reference in New Issue
Block a user