mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 21:23:55 +08:00
Let ContactOrBot implements CoroutineScope
This commit is contained in:
parent
7f33f48f98
commit
aa12684050
@ -9,6 +9,7 @@
|
||||
|
||||
package net.mamoe.mirai.contact
|
||||
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import net.mamoe.mirai.Bot
|
||||
|
||||
/**
|
||||
@ -18,7 +19,7 @@ import net.mamoe.mirai.Bot
|
||||
* @see Contact
|
||||
* @see Bot
|
||||
*/
|
||||
interface ContactOrBot {
|
||||
interface ContactOrBot : CoroutineScope {
|
||||
/**
|
||||
* QQ 号或群号.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user