mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-17 05:29:25 +08:00
Fix typo
This commit is contained in:
parent
dc0df986ba
commit
e956dccdd1
@ -157,7 +157,7 @@ class MessageSubscribersBuilder<T : MessagePacket<*, *>>(
|
||||
ListeningFilter { !filter.invoke(this, it) || !another.filter.invoke(this, it) }
|
||||
|
||||
/**
|
||||
* 启动时间监听.
|
||||
* 启动事件监听.
|
||||
*/
|
||||
// do not inline due to kotlin (1.3.61) bug: java.lang.IllegalAccessError
|
||||
operator fun invoke(onEvent: MessageListener<T>): Listener<T> {
|
||||
|
@ -130,7 +130,7 @@ fun Bot.messageDSL() {
|
||||
|
||||
|
||||
// 当消息中包含 "复读" 时
|
||||
contains("复读") {
|
||||
val listener = (contains("复读1") or contains("复读2")) {
|
||||
reply(message)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user