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:
parent
57d17c96db
commit
b6a5277f54
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue