Interface InteractionCommandContext
- All Superinterfaces:
AccessValidator
,CommandContext
- All Known Subinterfaces:
SlashCommandContext
The execution context of an command invoked through an interaction (application command).
- Since:
- 1.0
- Version:
- 1.0
-
Method Summary
Methods inherited from interface dev.sympho.modular_commands.api.permission.AccessValidator
hasAccess, validate
Methods inherited from interface dev.sympho.modular_commands.api.command.context.CommandContext
belongs, belongs, getArgument, getArgument, getArgument, getCaller, getCallerMember, getChannel, getChannelId, getClient, getCommandInvocation, getContext, getGuild, getGuildId, getInvocation, isPrivate, replies, reply, reply, reply, reply, reply, reply, requireArgument, requireArgument, requireArgument, requireContext, setContext, setContext
-
Method Details
-
getEvent
ApplicationCommandInteractionEvent getEvent()Description copied from interface:CommandContext
Retrieves the event that triggered the command.- Specified by:
getEvent
in interfaceCommandContext
- Returns:
- The trigger event.
-