Commit 5d303e57 authored by Him188's avatar Him188

Let Contact extends CoroutineScope

parent e0964eaf
......@@ -2,6 +2,7 @@
package net.mamoe.mirai.contact
import kotlinx.coroutines.CoroutineScope
import net.mamoe.mirai.Bot
import net.mamoe.mirai.message.data.*
import net.mamoe.mirai.utils.ExternalImage
......@@ -16,7 +17,7 @@ import kotlin.contracts.contract
*
* @author Him188moe
*/
interface Contact {
interface Contact : CoroutineScope {
/**
* 这个联系人所属 [Bot]
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment