Skip to content

Commit

Permalink
Fix reactions topic command shortcut.
Browse files Browse the repository at this point in the history
  • Loading branch information
synrg committed Aug 20, 2024
1 parent 85f6688 commit 7b65124
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions inatcog/commands/inat.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,11 @@ async def describe_reply(self, ctx):
""" # noqa: E501
await ctx.send_help()

@commands.command(name="reply", aliases=["replies"], hidden=True)
async def topic_reply(self, ctx):
"""Convenient alias for 'describe reply' message command."""
await ctx.send_help(self.bot.get_command("describe reply"))

@describe.command(name="advanced")
async def describe_advanced(self, ctx):
"""\u200b*Advanced* query options via `opt`.
Expand Down Expand Up @@ -415,17 +420,13 @@ async def describe_reactions(self, ctx):
See `[p]help user add` if you're a server owner or mod.
""" # noqa: E501
await ctx.send_help()

@commands.command(name="reactions", aliases=["reaction"], hidden=True)
async def topic_reaction(self, ctx):
async def topic_reactions(self, ctx):
"""Convenient alias for 'describe reactions' message command."""
await ctx.send_help(self.bot.get_command("describe reactions"))

@commands.command(name="reply", aliases=["replies"], hidden=True)
async def topic_reply(self, ctx):
"""Convenient alias for 'describe reply' message command."""
await ctx.send_help(self.bot.get_command("describe reply"))

@commands.group()
async def inat(self, ctx):
"""Show/change iNat settings.
Expand Down

0 comments on commit 7b65124

Please sign in to comment.