Closed aboutmydreams closed 4 years ago
如果机器人作为普通成员, 则无法监听.
好的,谢谢秒回,另外MemberJoinEvent好像需要一个group的返回才更合理
class MemberJoinEvent(MiraiEvent):
type = "MemberJoinEvent"
member: Member
class Dispatcher(BaseDispatcher):
mixin = [ApplicationDispatcher]
@staticmethod
def catch(interface: DispatcherInterface):
if interface.annotation is Member:
return interface.event.member
MemberJoinEvent.member.group
sorry, thanks
似乎只有a申请,管理员b同意后才被MemberJoinEvent监听到