Class InteractivityConfiguration
- Namespace
- DSharpPlus.Interactivity
- Assembly
- DSharpPlus.Interactivity.dll
Configuration class for your Interactivity extension
public sealed class InteractivityConfiguration
- Inheritance
-
InteractivityConfiguration
Constructors
- InteractivityConfiguration()
Creates a new instance of InteractivityConfiguration.
- InteractivityConfiguration(InteractivityConfiguration)
Creates a new instance of InteractivityConfiguration, copying the properties of another configuration.
Properties
- ButtonBehavior
How to handle buttons after pagination ends.
- PaginationBehaviour
How to handle pagination. Defaults to WrapAround.
- PaginationButtons
Buttons to use for pagination.
- PaginationDeletion
How to handle pagination deletion. Defaults to DeleteEmojis.
- PaginationEmojis
Emojis to use for pagination
- PollBehaviour
What to do after the poll ends
- ResponseBehavior
How to handle invalid interactions. Defaults to Ignore.
- ResponseMessage
The message to send to the user when processing invalid interactions. Ignored if ResponseBehavior is not set to Respond.
- Timeout
Sets the default interactivity action timeout.
Defaults to 1 minute.