Annotation Interface OnChatMessage
A method with this annotation will get called whenever the bot receives a discord message.
Optionally you can add ifMsgContains = "some filter string", so it only gets called if there's a message containing that string
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptiona short description of the option and what its for
-
Element Details
-
ifMsgContains
String ifMsgContainsa short description of the option and what its for- Returns:
- a short description of the option and what its for
- Default:
""
-