<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":dokkaHtml/main"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword">suspend override </span><spanclass="token keyword">fun </span><spandata-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContext///PointingToDeclaration/">BehaviourContext</span><spanclass="token punctuation">.</span><ahref="setup-bot-plugin.html"><spanclass="token function">setupBotPlugin</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">koin<spanclass="token operator">: </span><spandata-unresolved-link="org.koin.core/Koin///PointingToDeclaration/">Koin</span></span></span><spanclass="token punctuation">)</span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><pclass="paragraph">Uses <ahref="../-commands-keeper/index.html">CommandsKeeper</a> from <ahref="setup-bot-plugin.html">koin</a>. Subscribe on <spandata-unresolved-link="dev.inmo.plagubot.plugins.commands/CommandsKeeper/scopesCommands/#/PointingToDeclaration/">CommandsKeeper.scopesCommands</span> to follow changed in scopes and take all the available keys in the <ahref="../-commands-keeper/index.html">CommandsKeeper</a> and set commands for each key</p></div></div>