mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2026-11-26 13:23:38 +00:00
Add opportunity to use config in setup bot client
This commit is contained in:
1 parent
d772d275b3
commit
bb06ba1ca7
3 files changed
+11
-1
No files matched your search
@@ -21,6 +21,7 @@ import org.koin.core.module.Module
|
||||
@Serializable(PluginSerializer::class)
|
||||
interface Plugin : StartPlugin {
|
||||
fun KtorRequestsExecutorBuilder.setupBotClient() {}
|
||||
fun KtorRequestsExecutorBuilder.setupBotClient(params: JsonObject) = setupBotClient()
|
||||
|
||||
/**
|
||||
* This method will be called when this plugin should configure di module based on the incoming params
|
||||
|
||||
Reference in new issue
Block a user