mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-22 13:46:13 +08:00
Remove unnecessary inline
This commit is contained in:
parent
a85beff482
commit
d78d719caa
@ -92,11 +92,11 @@ abstract class MessagePacketBase<TSender : QQ, TSubject : Contact> : EventPacket
|
||||
suspend inline fun Image.download(): ByteReadPacket = getLink().download()
|
||||
// endregion
|
||||
|
||||
inline fun At.qq(): QQ = bot.getQQ(this.target)
|
||||
fun At.qq(): QQ = bot.getQQ(this.target)
|
||||
|
||||
inline fun Int.qq(): QQ = bot.getQQ(this.coerceAtLeastOrFail(0).toUInt())
|
||||
inline fun Long.qq(): QQ = bot.getQQ(this.coerceAtLeastOrFail(0))
|
||||
inline fun UInt.qq(): QQ = bot.getQQ(this)
|
||||
fun Int.qq(): QQ = bot.getQQ(this.coerceAtLeastOrFail(0).toUInt())
|
||||
fun Long.qq(): QQ = bot.getQQ(this.coerceAtLeastOrFail(0))
|
||||
fun UInt.qq(): QQ = bot.getQQ(this)
|
||||
|
||||
suspend inline fun Int.group(): Group = bot.getGroup(this.coerceAtLeastOrFail(0).toUInt())
|
||||
suspend inline fun Long.group(): Group = bot.getGroup(this.coerceAtLeastOrFail(0))
|
||||
|
Loading…
Reference in New Issue
Block a user