mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-19 21:49:16 +08:00
Fix error message
This commit is contained in:
parent
c0dbd3344a
commit
a8aded9bf9
@ -340,7 +340,7 @@ internal class GroupImpl(
|
|||||||
|
|
||||||
|
|
||||||
override operator fun get(id: Long): Member {
|
override operator fun get(id: Long): Member {
|
||||||
return members.delegate.filteringGetOrNull { it.id == id } ?: throw NoSuchElementException("for group id $id")
|
return members.delegate.filteringGetOrNull { it.id == id } ?: throw NoSuchElementException("member $id not found in group $uin")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun contains(id: Long): Boolean {
|
override fun contains(id: Long): Boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user