mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-28 16:50:09 +08:00
Add AtAll.display
This commit is contained in:
parent
e3a8ae8d90
commit
9f8d75f895
@ -12,10 +12,11 @@
|
|||||||
|
|
||||||
package net.mamoe.mirai.message.data
|
package net.mamoe.mirai.message.data
|
||||||
|
|
||||||
|
import net.mamoe.mirai.utils.SinceMirai
|
||||||
import kotlin.jvm.JvmMultifileClass
|
import kotlin.jvm.JvmMultifileClass
|
||||||
import kotlin.jvm.JvmName
|
import kotlin.jvm.JvmName
|
||||||
|
|
||||||
private const val display = "@全体成员"
|
private const val displayA = "@全体成员"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* "@全体成员".
|
* "@全体成员".
|
||||||
@ -27,8 +28,11 @@ private const val display = "@全体成员"
|
|||||||
object AtAll :
|
object AtAll :
|
||||||
Message.Key<AtAll>,
|
Message.Key<AtAll>,
|
||||||
MessageContent,
|
MessageContent,
|
||||||
CharSequence by display,
|
CharSequence by displayA,
|
||||||
Comparable<String> by display {
|
Comparable<String> by displayA {
|
||||||
|
|
||||||
|
@SinceMirai("0.31.2")
|
||||||
|
const val display = displayA
|
||||||
|
|
||||||
@Suppress("SpellCheckingInspection")
|
@Suppress("SpellCheckingInspection")
|
||||||
override fun toString(): String = "[mirai:atall]"
|
override fun toString(): String = "[mirai:atall]"
|
||||||
|
Loading…
Reference in New Issue
Block a user