1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-25 04:50:26 +08:00

Update README.md

This commit is contained in:
Him188 2019-12-19 23:33:19 +08:00 committed by GitHub
parent 6640292663
commit 3f3e6fb52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ implementation("net.mamoe:mirai-core-timpc-android:VERSION")
现在您可以开始体验低付出高效率的 Mirai
```kotlin
val bot = Bot(qqId, password).alsoLogin()
val bot = TIMPC.Bot(qqId, password).alsoLogin()
bot.subscribeMessages {
"你好" reply "你好!"
"profile" reply { sender.queryProfile() }