fisher60 / friendo-bot

A Discord Bot that is just a good Friendo
MIT License
25 stars 24 forks source link

Display incorrect usage of commands to the users #187

Closed GDWR closed 1 year ago

GDWR commented 3 years ago

Discord raises errors when a BadArgument/invalid argument is used in a command

discord.ext.commands.errors.BadArgument: Converting to "int" failed for parameter "amount".

This can be caught and used to tell the users why a command hasn't activated, helping with User Experience