Interaction#

Enums#

class InteractionType(*values)#
PING = 1#
APPLICATION_COMMAND = 2#
MESSAGE_COMPONENT = 3#
APPLICATION_COMMAND_AUTOCOMPLETE = 4#
MODAL_SUBMIT = 5#
class ApplicationIntegrationType(*values)#
GUILD_INSTALL = 0#
USER_INSTALL = 1#
class InteractionContextType(*values)#
GUILD = 0#
BOT_DM = 1#
PRIVATE_CHANNEL = 2#

Errors#

class UnknownInteractionType#

Raised when the interaction parser could not parse the interaction you received.

add_note(object, /)#

Exception.add_note(note) – add a note to the exception

args#
with_traceback(object, /)#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class InteractionResponded#

Raised when you attempt to respond to an already responded interaction.

add_note(object, /)#

Exception.add_note(note) – add a note to the exception

args#
with_traceback(object, /)#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class InteractionNotResponded#

Raised when you attempt to send a followup to an interaction you haven’t responded to yet.

add_note(object, /)#

Exception.add_note(note) – add a note to the exception

args#
with_traceback(object, /)#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.