mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-27 09:00:15 +08:00
Update docs
This commit is contained in:
parent
0465923090
commit
6ef928f5ec
@ -7,9 +7,9 @@
|
||||
```kotlin
|
||||
interface BotFactory {
|
||||
fun newBot(qq: Long, password: String, configuration: BotConfiguration): Bot
|
||||
fun newBot(qq: Long, password: String): Bot = newBot(qq, password, BotConfiguration.Default)
|
||||
fun newBot(qq: Long, password: String): Bot
|
||||
fun newBot(qq: Long, passwordMd5: ByteArray, configuration: BotConfiguration): Bot
|
||||
fun newBot(qq: Long, passwordMd5: ByteArray): Bot = newBot(qq, passwordMd5, BotConfiguration.Default)
|
||||
fun newBot(qq: Long, passwordMd5: ByteArray): Bot
|
||||
|
||||
companion object : BotFactory by BotFactoryImpl
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user