diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/At.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/At.kt index 8c7e9e332..f93ad941c 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/At.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/At.kt @@ -15,4 +15,10 @@ inline class At(val target: UInt) : Message { override fun toString(): String = stringValue companion object Key : Message.Key -} \ No newline at end of file +} + +/** + * At 这个成员 + */ +@Suppress("NOTHING_TO_INLINE") +inline fun QQ.at(): At = At(this) \ No newline at end of file