Class WarnCommand
java.lang.Object
com.dianxin.tori.api.commands.slash.v2.example.WarnCommand
Example demonstrating a nested subcommand structure for a moderation warning system.
Available subcommands:
/warn add <target> <reason>/warn remove <target> <id>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSubcommand to issue a warning to a guild member.static classSubcommand to remove an existing warning by its identifier. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WarnCommand
public WarnCommand()
-