Add notes

This commit is contained in:
Him188 2020-04-10 19:33:20 +08:00
parent 4728ae26b7
commit 7e02c48122

View File

@ -155,6 +155,8 @@ val MessageRecallEvent.GroupRecall.author: Member
get() = if (authorId == bot.id) group.botAsMember else group[authorId]
val MessageRecallEvent.FriendRecall.isByBot: Boolean get() = this.operator == bot.id
// val MessageRecallEvent.GroupRecall.isByBot: Boolean get() = (this as GroupOperableEvent).isByBot
// no need
val MessageRecallEvent.isByBot: Boolean
get() = when (this) {