All Known Subinterfaces:
InteractionHandlers, MessageHandlers, SlashHandlers, TextHandlers
All Known Implementing Classes:
InteractionHandlers.Impl, MessageHandlers.Impl, SlashHandlers.Impl, TextHandlers.Impl

public sealed interface Handlers permits MessageHandlers, SlashHandlers
A set of handlers for executing an invocation of a command.

Note that the implemented subinterfaces of this type determine what kinds of commands are supported; if the handlers are specified through a MessageHandlers, the command will only support invocations through messages, even if the invocation handler actually supports slash commands. Implementing more than one is allowed, however, and some joint-type interfaces are provided for convenience.

All instances of this class, as well as any contained collections, should be unmodifiable.

Since:
1.0
Version:
1.0