mzdluo123 5 rokov pred
rodič
commit
2eac5ab607

+ 7 - 1
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/BotConfiguration.common.kt

@@ -67,7 +67,13 @@ expect open class BotConfiguration() : BotConfigurationBase {
          * - 与平板冲突
          * - 与手机和电脑不冲突
          */
-        ANDROID_PAD;
+        ANDROID_PAD,
+
+        /**
+         * Android 手表.
+         * */
+        ANDROID_WATCH;
+
 
         internal val id: Long
     }

+ 6 - 1
mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/BotConfiguration.kt

@@ -146,7 +146,12 @@ actual open class BotConfiguration : BotConfigurationBase() { // open for Java
          * - 与平板冲突
          * - 与手机和电脑不冲突
          */
-        ANDROID_PAD(537062409)
+        ANDROID_PAD(537062409),
+
+        /**
+         * Android 手表.
+         * */
+        ANDROID_WATCH(537061176)
     }
 
     actual companion object {