Prodige custom events
Prodige have multiple custom so that you can have your own custom error messages.
Example
Here is so examples on how you can have your own error messages.
ProdigeError Types
Last updated
Prodige have multiple custom so that you can have your own custom error messages.
Here is so examples on how you can have your own error messages.
Last updated
Name
Description
EXECUTION
When there is an error while trying to execute the command. You can access error.error to get the actual error message.
CHANNEL
When the command is ran in the wrong channel
COOLDOWN
When the user is still in cooldown
PERMISSION
When the user doens't have one of the required permissions
OWNER_ONLY
When the command is on ownerOnly mode and the user isn't an owner
ROLE
When the user doesn't have the required roles
ARGUMENT_REQUIRED
When an argument is required but not specified by the user
ARGUMENT_WRONG_TYPE
When the argument has a certain type but the user sends back the wrong type
NOT_IN_DM
When the command is on dmOnly mode but is ran in a guild
NOT_IN_GUILD
When the command is not on dmOnly mode but is ran in dms