mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2024-10-31 21:13:46 +00:00
add note about startPlugin in setupBotPlugin
This commit is contained in:
parent
47f5086ebd
commit
f9b7d444a6
@ -45,6 +45,8 @@ interface Plugin : StartPlugin {
|
|||||||
/**
|
/**
|
||||||
* Override this method in cases when you want to declare common bot behaviour. In case you wish to use FSM, you
|
* Override this method in cases when you want to declare common bot behaviour. In case you wish to use FSM, you
|
||||||
* should override the method with receiver [BehaviourContextWithFSM]
|
* should override the method with receiver [BehaviourContextWithFSM]
|
||||||
|
*
|
||||||
|
* Besides, this method by default will call [startPlugin]
|
||||||
*/
|
*/
|
||||||
suspend fun BehaviourContext.setupBotPlugin(
|
suspend fun BehaviourContext.setupBotPlugin(
|
||||||
koin: Koin
|
koin: Koin
|
||||||
|
Loading…
Reference in New Issue
Block a user