Class WarnCommand.RemoveWarn
java.lang.Object
com.dianxin.tori.api.commands.slash.v2.example.WarnCommand.RemoveWarn
- Enclosing class:
WarnCommand
Subcommand to remove an existing warning by its identifier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(SlashCommandInteractionEvent event) Executes the remove warning logic.
-
Constructor Details
-
RemoveWarn
public RemoveWarn()
-
-
Method Details
-
run
Executes the remove warning logic.- Parameters:
event- the interaction event
-