inluding sdi

This commit is contained in:
InsanusMokrassar committed 2021-02-17 01:21:41 +06:00
1 parent a2b3fe57ac
commit 2baed760f7
8 files changed
+34 -9

No files matched your search

@@ -33,7 +33,13 @@ interface Plugin {
*/
suspend operator fun BehaviourContext.invoke(
database: Database
) {
invoke(bot, database, flowsUpdatesFilter, scope)
}
) = invoke(bot, database, flowsUpdatesFilter, scope)
/**
* This method (usually) will be invoked just one time in the whole application.
*/
suspend operator fun BehaviourContext.invoke(
database: Database,
params: Map<String, Any>
) = invoke(database)
}