setupBotPlugin

open suspend override fun BehaviourContext.setupBotPlugin(koin: Koin)

Uses CommandsKeeper from koin. Subscribe on CommandsKeeper.scopesCommands to follow changed in scopes and take all the available keys in the CommandsKeeper and set commands for each key

Sources

Link copied to clipboard