1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-02 05:00:35 +08:00

Update README.md

This commit is contained in:
Him188 2020-02-16 17:53:35 +08:00 committed by GitHub
parent 758ea29caa
commit 9848d82db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ JVM 上启动需 80M 内存, 每多一个机器人实例需要 30M 内存.
现在体验低付出高效率的 Mirai
```kotlin
val bot = TIMPC.Bot(qqId, password).alsoLogin()
val bot = Bot(qqId, password).alsoLogin()
bot.subscribeMessages {
"你好" reply "你好!"
"profile" reply { sender.queryProfile() }