From 0086de29ee2ae6f02a394edb80e8ee8ce0c9f624 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 21 Jul 2020 23:42:40 +0100 Subject: [PATCH] Modmail command is now ~modmail instead of ~mmsetup "modmail set" is now "modmail setup" --- cogs/modmail/modmail.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cogs/modmail/modmail.py b/cogs/modmail/modmail.py index 711d7aff..2c775a59 100644 --- a/cogs/modmail/modmail.py +++ b/cogs/modmail/modmail.py @@ -152,12 +152,12 @@ class Modmail(commands.Cog, command_attrs=dict(hidden=True)): self.anon = None @commands.group(invoke_without_command=True) - async def mmsetup(self, ctx): + async def modmail(self, ctx): pass - @mmsetup.command() - async def set(self, ctx, channelID: int): - """Set modmail system""" + @modmail.command() + async def setup(self, ctx, channelID: int): + """Setup modmail system""" # Retrieve a list of channel id's in the guild channels = [channel.id for channel in ctx.guild.channels] @@ -246,7 +246,7 @@ class Modmail(commands.Cog, command_attrs=dict(hidden=True)): await ctx.send("**Invalid Channel ID. Aborting Process...**") return - @mmsetup.command() + @modmail.command() async def update(self, ctx, channelID: int): """Update modmail system""" @@ -297,7 +297,7 @@ class Modmail(commands.Cog, command_attrs=dict(hidden=True)): await ctx.send("**Invalid Channel ID. Aborting Process...**") return - @mmsetup.command() + @modmail.command() async def delete(self, ctx): """Delete modmail system"""