mirai-core / net.mamoe.mirai.event / MessageSubscribersBuilder / sentByAdministrator

sentByAdministrator

fun sentByAdministrator(): ListeningFilter<M, Ret, R, RR>

如果是管理员发的消息

@PlannedRemoval("1.0.0") fun sentByAdministrator(onEvent: MessageListener<M, R>): Ret
Deprecated: for binary compatibility