fix(suggestions): fixed suggest command being a hybrid command
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Seaswimmer 2023-09-21 11:18:14 -04:00
parent 41e852b728
commit 3eea481044
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -65,7 +65,7 @@ class Suggestions(commands.Cog):
context = super().format_help_for_context(ctx) context = super().format_help_for_context(ctx)
return f"{context}" return f"{context}"
@commands.hybrid_command() @commands.command()
@commands.guild_only() @commands.guild_only()
@checks.bot_has_permissions(add_reactions=True) @checks.bot_has_permissions(add_reactions=True)
async def suggest_cmd(self, ctx: commands.Context, *, suggestion: str): async def suggest_cmd(self, ctx: commands.Context, *, suggestion: str):