Class ActiveHoursCommand

java.lang.Object
com.zenith.command.api.Command
com.zenith.command.impl.ActiveHoursCommand

public class ActiveHoursCommand extends Command
  • Constructor Details

    • ActiveHoursCommand

      public ActiveHoursCommand()
  • Method Details

    • commandUsage

      public CommandUsage commandUsage()
      Description copied from class: Command
      Required. Registers CommandUsage
      Specified by:
      commandUsage in class Command
    • register

      public com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandContext> register()
      Description copied from class: Command
      Required. Register a Command.command(String)
      Specified by:
      register in class Command
    • defaultEmbed

      public void defaultEmbed(Embed builder)
      Description copied from class: Command
      Override to populate the embed builder after every non-throwing execution, including both success and error cases. Don't include sensitive info, there is no permission validation.
      Overrides:
      defaultEmbed in class Command