Errors

All the errors that can be raised when you create a invite link.

discordTogether.errors.InvalidArgument
Raised when an invalid argument was entered.

This error can be raised when:
  • Voice Channel ID is incorrect/invalid
  • Application name entered was not found within the default applications list
  • Custom Application ID was incorrect/invalid
discordTogether.errors.RangeExceeded
Raised when the allowed ranges for max_age and max_uses parameters were exceeded.
discordTogether.errors.BotMissingPerms
Raised when your bot does not have CREATE_INSTANT_INVITE permissions for that specific channel.
discordTogether.errors.ConnectionError
Raised when a general error occured while communicating with Discord API.
Back to top