Commit f75d597c authored by Him188's avatar Him188

Remove being shadowed extensions

parent 7e1a6c8b
......@@ -132,12 +132,4 @@ inline fun Contact.recallIn(
source: MessageSource,
millis: Long,
coroutineContext: CoroutineContext = EmptyCoroutineContext
): Job = this.bot.recallIn(source, millis, coroutineContext)
/**
* @see Contact.sendMessage
*/
@Suppress("UNCHECKED_CAST")
@JvmSynthetic
suspend inline fun <C : Contact> C.sendMessage(plain: String): MessageReceipt<C> =
sendMessage(plain.toMessage()) as? MessageReceipt<C> ?: error("Internal class cast mistake")
\ No newline at end of file
): Job = this.bot.recallIn(source, millis, coroutineContext)
\ No newline at end of file
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