Class DiscordLinkCommand
java.lang.Object
io.github.dexrnzacattack.rrdiscordbridge.command.commands.DiscordLinkCommand
- All Implemented Interfaces:
ICommand
Gives the user a link to the Discord Server (if set)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
invoke
(ICommandCaller caller, String[] params) Calls the command
-
Constructor Details
-
DiscordLinkCommand
public DiscordLinkCommand()
-
-
Method Details
-
getCommandName
- Specified by:
getCommandName
in interfaceICommand
- Returns:
- The command enum
-
getDescription
- Specified by:
getDescription
in interfaceICommand
- Returns:
- The command description
-
invoke
Description copied from interface:ICommand
Calls the command
-