Resolved command conflict with core bot

This commit is contained in:
Logan Cusano
2021-12-28 01:18:52 -05:00
parent 695f5dc2c9
commit 08d1863a4b

View File

@@ -47,7 +47,7 @@ class WillieTimer(commands.Cog):
else:
await ctx.send(f"{member} I haven't told Willie yet. If you want me to, @ me and say 'start420'")
@commands.command(help="Example '@Greada chchn 757379843792044102'",
@commands.command(name='420chchn', help="Example '@Greada chchn 757379843792044102'",
brief="Change the channel the bot chats in at 4:20")
async def chchn(self, ctx, message, *, member: discord.Member = None):
member = member or ctx.author.display_name
@@ -64,7 +64,7 @@ class WillieTimer(commands.Cog):
await ctx.send(f"{member}, {message} is not a valid channel ID, please try again")
pass
@commands.command(help="Example '@Greada chmtn 'Willies Friends'",
@commands.command(name='420chmtn', help="Example '@Greada chmtn 'Willies Friends'",
brief="Use this command to change who the bot mentions at 4:20")
async def chmtn(self, ctx, message, *, member: discord.Member = None):
member = member or ctx.author.display_name