Class GenericApplicationCommandEvent

    • Method Detail

      • getCommand

        @Nonnull
        public Command getCommand()
        The affected command and its new data.
        Returns:
        The Command
      • getGuild

        @Nullable
        public Guild getGuild()
        The relevant guild for this command, unless its global.
        Returns:
        The Guild, or null for global commands