Closed ForliyScarlet closed 1 year ago
val bot: QGBot = ... // 直接获取channel或category val channel: QGChannel? = bot.channel(123.ID) val category: QGChannelCategory? = bot.category(123.ID) // 直接发送消息 bot.sendTo(123.ID, "text message") bot.sendTo(123.ID, message) bot.sendTo(123.ID, messageContent)
Note: 当使用 sendTo 时,你需要自行处理 msgId 的填充,比如拼接使用 QGReplyTo
sendTo
msgId
QGReplyTo
close #93
close #93