mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-23 06:10:30 +08:00
Add Bot.qqNumber
This commit is contained in:
parent
2c35f9e416
commit
2fca15b0c1
@ -30,5 +30,4 @@ suspend fun Bot.sendPacket(packet: ClientPacket) = this.network.socket.sendPacke
|
|||||||
suspend fun Bot.login(): LoginState = this.network.login()
|
suspend fun Bot.login(): LoginState = this.network.login()
|
||||||
|
|
||||||
//BotAccount
|
//BotAccount
|
||||||
|
val Bot.qqNumber: Long get() = this.account.qqNumber
|
||||||
fun Bot.getBotQQ(): Long = this.account.qqNumber
|
|
Loading…
Reference in New Issue
Block a user