mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2025-11-14 11:00:09 +00:00
0.4.0
This commit is contained in:
@@ -5,18 +5,6 @@ import kotlinx.coroutines.*
|
||||
import kotlinx.serialization.InternalSerializationApi
|
||||
import java.io.File
|
||||
|
||||
@Deprecated(
|
||||
"This method is redundant due to new class PlaguBot",
|
||||
ReplaceWith(
|
||||
"PlaguBot(config).start(scope)",
|
||||
"dev.inmo.plagubot.PlaguBot"
|
||||
)
|
||||
)
|
||||
suspend inline fun initPlaguBot(
|
||||
config: Config,
|
||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default)
|
||||
): Job = PlaguBot(config).start(scope)
|
||||
|
||||
/**
|
||||
* This method by default expects one argument in [args] field: path to config
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user