Commit 9848d82d authored by Him188's avatar Him188 Committed by GitHub

Update README.md

parent 758ea29c
...@@ -120,7 +120,7 @@ JVM 上启动需 80M 内存, 每多一个机器人实例需要 30M 内存. ...@@ -120,7 +120,7 @@ JVM 上启动需 80M 内存, 每多一个机器人实例需要 30M 内存.
现在体验低付出高效率的 Mirai 现在体验低付出高效率的 Mirai
```kotlin ```kotlin
val bot = TIMPC.Bot(qqId, password).alsoLogin() val bot = Bot(qqId, password).alsoLogin()
bot.subscribeMessages { bot.subscribeMessages {
"你好" reply "你好!" "你好" reply "你好!"
"profile" reply { sender.queryProfile() } "profile" reply { sender.queryProfile() }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment