소스 검색

Use constant

Him188 6 년 전
부모
커밋
9ad9fb5cf3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/AtAll.kt

+ 1 - 1
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/AtAll.kt

@@ -38,7 +38,7 @@ object AtAll :
 
     @Suppress("SpellCheckingInspection")
     override fun toString(): String = "[mirai:atall]"
-    override fun contentToString(): String = "@全体成员"
+    override fun contentToString(): String = display
 
     // 自动为消息补充 " "