Class TimeoutCommand

java.lang.Object
de.klassenserver7b.k7bot.commands.common.moderation.TimeoutCommand
All Implemented Interfaces:
ServerCommand

public class TimeoutCommand extends Object implements ServerCommand
  • Constructor Details

    • TimeoutCommand

      public TimeoutCommand()
  • Method Details

    • getHelp

      public String getHelp()
      Specified by:
      getHelp in interface ServerCommand
      Returns:
      The Help for the ServerCommand
    • getCommandStrings

      public String[] getCommandStrings()
      Specified by:
      getCommandStrings in interface ServerCommand
      Returns:
      The Command Strings for the ServerCommand
    • getCategory

      public HelpCategories getCategory()
      Specified by:
      getCategory in interface ServerCommand
      Returns:
      The Category for the ServerCommand
    • performCommand

      public void performCommand(net.dv8tion.jda.api.entities.Member m, net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel channel, net.dv8tion.jda.api.entities.Message message)
      Specified by:
      performCommand in interface ServerCommand
    • onTimeout

      public void onTimeout(net.dv8tion.jda.api.entities.Member requester, net.dv8tion.jda.api.entities.Member u, net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel channel, String time, String grund)