- Quickstart
- API Reference
- Frequently Asked Questions
- discord.py is dead! Will this library die too?
- Are you going to/will/consider fork(ing) discord.py?
- Will discord.py be able to work with this library?
- Where should we go with discord.py being gone?
- Why are you not supporting cooldowns?
- Will we not be able to create message commands?
- My question is not answered on here!
Enumerable Objects¶
- class interactions.enums.ApplicationCommandType(value)
An enumerable object representing the types of application commands.
- class interactions.enums.InteractionType(value)
An enumerable object representing the types of interactions.
- class interactions.enums.OptionType(value)
Enumerable object of literal integers holding equivocal values of a slash command’s option(s).
Note
Equivalent of ApplicationCommandOptionType in the Discord API.
- classmethod from_type(_type: type) enum.IntEnum
Get a specific enumerable from a type or object.
- Parameters
_type (type) – The type or object to get an enumerable integer for.
- Returns
enum.IntEnum.
- class interactions.enums.PermissionType(value)
Enumerable object of literal integers holding equivocal values of a slash command’s permission(s).
Note
Equivalent of ApplicationCommandPermissionType in the Discord API.
- classmethod from_type(_type: type) enum.IntEnum
Get a specific enumerable from a type or object. :param _type: The type or object to get an enumerable integer for. :type _type: type :return: enum.IntEnum.
- class interactions.enums.ComponentType(value)
Enumerable object of literal integers holding equivocal values of a component(s) type.
Note
Equivalent of Component Types in the Discord API.
- class interactions.enums.ButtonType(value)
Enumerable object of literal integers holding equivocal values of a button(s) type.
Note
Equivalent of Button Styles in the Discord API.