Update event.py
added another event check. still haven't seen GUILD_MEMBER_ADD anywhere and not entirely sure why the client receives GUILD_MEMBER_REMOVE since GUILD_DELETE should be enough
@@ -134,6 +134,10 @@ class Event:
def guild_member_chunk(self): #used for op 8 (when searching in the search bar and members come up)
return self.response['t'] == 'GUILD_MEMBERS_CHUNK'
+ @property
+ def guild_member_removed(self): #only seems to get sent when you leave a guild (voluntarily or involuntarily)...but the server owner sees no such event? weird.
+ return self.response['t'] == 'GUILD_MEMBER_REMOVE'
+
@property
def role(self):
return self.response['t'] == 'GUILD_ROLE_CREATE'
