sir-lancebot icon indicating copy to clipboard operation
sir-lancebot copied to clipboard

Unwanted error handling in command suggestions.

Open Qwerty-133 opened this issue 3 years ago • 0 comments

Description

The bot sometimes sends you error messages when you type invalid commands.

Steps to Reproduce

Type ...and or .cand or so on in a channel, and you'll be met with an embed by the bot saying "Command can only be used in October." This happens because the command handler tries suggesting the candy command but its checks raise a check failure, and the check failure is passed to the error handler again which is handled by it by posting that october embed.

Expected Behaviour

The bot shouldn't send any message at all.

Possible Solutions

157b19b5b99d5ab0ea5f62bb8231765916bf90d8 should fix it.

Would you like to implement a fix?

Note: For high-priority or critical bugs, fixes may be implemented by staff.

  • [X] I'd like to implement the bug fix
  • [ ] Anyone can implement the bug fix

Qwerty-133 avatar Sep 15 '21 16:09 Qwerty-133