Models

The following section outlines all the interactions models.

Note

These models are not meant to be constructed by users but returned by the library itself.

MaxConcurrency

Attributes
class discord_tools.app_commands.MaxConcurrency(number, *, per)[source]

Represents a maximum concurrency object for application commands.

number

The number of times allowed for the command to be executed concurrently.

Type:

int

per

The bucket to use for this max concurrency object.

Type:

BucketType