Remove duplicate commands in autoreact
This commit is contained in:
parent
228a4844df
commit
b743835d47
1 changed files with 3 additions and 3 deletions
|
@ -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}
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue