fix(suggestions): fixed suggestions command having the wrong name
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
parent
3eea481044
commit
ae96e7d08d
1 changed files with 2 additions and 2 deletions
|
@ -65,10 +65,10 @@ class Suggestions(commands.Cog):
|
|||
context = super().format_help_for_context(ctx)
|
||||
return f"{context}"
|
||||
|
||||
@commands.command()
|
||||
@commands.command(name='suggest')
|
||||
@commands.guild_only()
|
||||
@checks.bot_has_permissions(add_reactions=True)
|
||||
async def suggest_cmd(self, ctx: commands.Context, *, suggestion: str):
|
||||
async def suggest(self, ctx: commands.Context, *, suggestion: str):
|
||||
"""Suggest something."""
|
||||
if ctx.interaction is True:
|
||||
await ctx.defer()
|
||||
|
|
Loading…
Reference in a new issue