interactions property Null safety

IInteractions interactions
latefinal

The IInteractions instance used by this CommandsPlugin.

IInteractions is the backend for the Discord Application Command API and is used by nyxx_commands to register and handle slash commands.

Because IInteractions also allows you to use Message Components, developers might need to use this instance of IInteractions. It is not recommended to create your own instance alongside nyxx_commands as that might result in commands being deleted.

Implementation

late final IInteractions interactions;