1
0
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:
Him188 2020-05-11 15:28:31 +08:00
parent 7f33f48f98
commit aa12684050

View File

@ -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 号或群号.
*/