1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 18:03:12 +00:00

Add issue comment to error handling (wontfix for now)

This commit is contained in:
wlinator 2024-04-12 02:44:28 +02:00
parent 57d17c96db
commit b6a5277f54

View file

@ -73,6 +73,7 @@ class ErrorListener(Cog):
async def on_command_error(self, ctx, error) -> None:
# on a prefix command, don't send anything if channel check fails. (to prevent spam in non-bot channels)
# current issues with this: await ctx.trigger_typing() is still invoked for 10 seconds.
if not isinstance(error, RacuExceptions.NotAllowedInChannel):
await on_command_error(ctx, error)