Skip to content

Commit

Permalink
Fix hybrid command handling with this surprisingly simple fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
Kowlin committed Feb 1, 2025
1 parent b1e8631 commit b3a2512
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redbot/core/_global_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
def init_global_checks(bot):
@bot.check_once
async def check_message_is_eligible_as_command(ctx: commands.Context) -> bool:
if ctx.interaction is not None:
return True
return await ctx.bot.message_eligible_as_command(ctx.message)

0 comments on commit b3a2512

Please sign in to comment.