This commit is contained in:
Him188 2020-03-01 18:13:29 +08:00
parent 2cfd8be0f3
commit 8de9357fdd
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ actual abstract class Bot actual constructor() : CoroutineScope, LowLevelBotAPIA
* [Bot] 运行的 [Context].
*
* JVM 的默认实现为 `class ContextImpl : Context`
* Android 实现为 `android.content.Context`
* Android 实现为 [android.content.Context]
*/
actual abstract val context: Context

View File

@ -61,7 +61,7 @@ actual abstract class Bot actual constructor() : CoroutineScope, LowLevelBotAPIA
/**
* [Bot] 运行的 [Context].
*
* JVM 的默认实现为 `class ContextImpl : Context`
* JVM 的默认实现为 [net.mamoe.mirai.utils.Context]
* Android 实现为 `android.content.Context`
*/
actual abstract val context: Context

View File

@ -1,7 +1,7 @@
package net.mamoe.mirai.event.events
// 不要删除平台结构.
// 不要删除平台结构.
// 否则在 Java 中这个 class 不会被认为是 java.lang.RuntimeException (Kotlin bug)
@Suppress("unused")
actual class EventCancelledException : RuntimeException {