API Reference nosedrum v0.5.0
Modules
The application command behaviour specifies the interface that a slash, user, or message command module should implement.
The command behaviour specifies the interface that a command module should implement.
Conversion from command arguments to various types.
User interaction helpers that don't fit into their own module.
Interactors take the role of both Nosedrum.Invoker
and Nosedrum.Storage
when
it comes to Discord's Application Commands. An Interactor handles incoming
Nostrum.Struct.Interaction.t/0
s, invoking Nosedrum.ApplicationCommand.command/1
callbacks
and responding to the Interaction.
An implementation of Nosedrum.Interactor
, dispatching Application Command Interactions to the appropriate modules.
Invoker modules process messages from Discord.
An OptionParser.split/1
-based command processor.
A cache for recent messages sent on guilds.
An Agent
-based message cache.
An ETS-table based message cache.
Built-in command predicates and predicate evaluation.
Storages contain commands and are used by command invokers to look up commands.
An implementation of the Nosedrum.Storage
behaviour based on ETS tables.