Closed demget closed 3 months ago
On
Handler
c map[string][]func()
Bot
Bot.Start
Usage:
mod.On(plant.Startup, func() { go mod.backgroundWorker() })
On
function forHandler
c map[string][]func()
field to theBot
Bot.Start
function to execute callbacks before the actual bot startUsage: