mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-22 13:46:13 +08:00
Let Contact extends CoroutineScope
This commit is contained in:
parent
e0964eaf77
commit
5d303e575d
@ -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]
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user