@API(status=STABLE) public class HelpCommand extends SlashCommand
Constructor and Description |
---|
HelpCommand(ActivityRegistry activityRegistry,
MessageService messageService) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
protected ActivityInfo |
info()
Build activity info.
|
void |
onActivity(CommandContext context)
Contain the activity business logic.
|
createContextInstance, matcher, slash, slash, slash, slash
beforeMatcher, bindToRealTimeEventsSource
getInfo, processEvent
public HelpCommand(@Nonnull ActivityRegistry activityRegistry, @Nonnull MessageService messageService)
public void onActivity(CommandContext context)
ActivityMatcher.matches(ActivityContext)
returned
a true value.onActivity
in class SlashCommand
context
- The activity context object.protected ActivityInfo info()
info
in class SlashCommand
public boolean equals(java.lang.Object o)
equals
in class SlashCommand
public int hashCode()
hashCode
in class SlashCommand