Commit aa126840 authored by Him188's avatar Him188

Let ContactOrBot implements CoroutineScope

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