Bot
Description
Starting point for your Gears app. Contains the ServiceManager and the root CommandGroup
Example
const bot = new Bot({ adapter, commands: [sum, multiply] })
Generics
M
C
Constructor
Properties
Methods
processMessage(message)Promise<undefined | unknown type>
Manually run a message through the command chain. This method gets called automatically by the ClientAdapter.
Parameters
message:
MBot
Middleware