From b743835d4726bf75fb659437814dbe57999f37f0 Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Thu, 1 Jul 2021 18:08:08 -0600 Subject: [PATCH] Remove duplicate commands in autoreact --- jarvis/cogs/autoreact.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jarvis/cogs/autoreact.py b/jarvis/cogs/autoreact.py index 708e165..5149ef8 100644 --- a/jarvis/cogs/autoreact.py +++ b/jarvis/cogs/autoreact.py @@ -55,8 +55,8 @@ class AutoReactCog(commands.Cog): @cog_ext.cog_subcommand( base="autoreact", - name="remove", - description="Remove an autoreact from a channel", + name="delete", + description="Delete an autoreact from a channel", guild_ids=[418094694325813248, 578757004059738142], options=[ create_option( @@ -67,7 +67,7 @@ class AutoReactCog(commands.Cog): ) ], ) - async def _autoreact_remove(self, ctx, channel: TextChannel): + async def _autoreact_delete(self, ctx, channel: TextChannel): exists = self.db.jarvis.autoreact.delete_one( {"guild": channel.guild.id, "channel": channel.id} )