Interface SlashCommandInteraction

    • Method Detail

      • getCommandId

        long getCommandId​()
        Gets the id of the invoked slash command.
        Returns:
        The id of the invoked command.
      • getCommandIdAsString

        String getCommandIdAsString​()
        Gets the id of the invoked slash command as string.
        Returns:
        The id of the invoked command as string.
      • getCommandName

        String getCommandName​()
        Gets the name of the invoked slash command.
        Returns:
        The name of the invoked command.