Class ExampleCommand
java.lang.Object
com.dianxin.tori.api.commands.slash.v2.example.ExampleCommand
Example demonstrating a standard, single flat slash command with optional options.
Usage: /hello [member] [message]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(SlashCommandInteractionEvent event) Executes the greeting command.
-
Constructor Details
-
ExampleCommand
public ExampleCommand()
-
-
Method Details
-
run
Executes the greeting command.- Parameters:
event- the interaction event
-