<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">override </span><spanclass="token keyword">fun </span><spandata-unresolved-link="org.koin.core.module/Module///PointingToDeclaration/">Module</span><spanclass="token punctuation">.</span><ahref="setup-d-i.html"><spanclass="token function">setupDI</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">database<spanclass="token operator">: </span><spandata-unresolved-link="org.jetbrains.exposed.sql/Database///PointingToDeclaration/">Database</span><spanclass="token punctuation">, </span></span><spanclass="parameter ">params<spanclass="token operator">: </span><spandata-unresolved-link="kotlinx.serialization.json/JsonObject///PointingToDeclaration/">JsonObject</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">Creating <ahref="../-commands-keeper/index.html">CommandsKeeper</a> and pass it to the DI. It uses <spandata-unresolved-link="org.koin.core.scope/Scope/getAll/#/PointingToDeclaration/">org.koin.core.scope.Scope.getAll</span> to get all the <ahref="../-bot-command-full-info/index.html">BotCommandFullInfo</a> instances declared in the DI.</p></div></div>