zeusops / operationbot

A bot for handling events on the Zeusops discord server
GNU General Public License v3.0
7 stars 4 forks source link

Use a placeholder message if an error doesn't have one #111

Closed Gehock closed 7 months ago

Gehock commented 7 months ago

It seems that sometimes the Context passed to an on_command_error does not have the message attribute, despite the documentation. Falling back to a placeholder message if that is the case