- Preparing search index...
- The search index is not available
moonpiebot
Function runChatMessageHandlerReplyCreator
- runChatMessageHandlerReplyCreator<DATA, CREATE_REPLY_INPUT_DATA, DETECTOR_INPUT_DATA, DETECTOR_OUTPUT_DATA>(client: Readonly<Client>, channel: string, tags: Readonly<ChatUserstate>, message: string, data: DATA, globalStrings: Readonly<StringMap>, globalPlugins: Readonly<PluginMap>, globalMacros: Readonly<MacroMap>, logger: Readonly<Logger>, chatMessageHandler: ChatMessageHandlerReplyCreator<CREATE_REPLY_INPUT_DATA, DETECTOR_INPUT_DATA, DETECTOR_OUTPUT_DATA>): Promise<boolean>
-
Parameters
-
client: Readonly<Client>
-
channel: string
-
tags: Readonly<ChatUserstate>
-
message: string
-
data: DATA
-
globalStrings: Readonly<StringMap>
-
globalPlugins: Readonly<PluginMap>
-
globalMacros: Readonly<MacroMap>
-
logger: Readonly<Logger>
-
chatMessageHandler: ChatMessageHandlerReplyCreator<CREATE_REPLY_INPUT_DATA, DETECTOR_INPUT_DATA, DETECTOR_OUTPUT_DATA>
Returns Promise<boolean>
Generic method to handle a chat message.
Returns
True if the command was detected and a reply was sent.