diff options
author | Intevel ツ <59223342+Intevel@users.noreply.github.com> | 2021-05-08 13:06:13 +0200 |
---|---|---|
committer | Intevel ツ <59223342+Intevel@users.noreply.github.com> | 2021-05-08 13:06:13 +0200 |
commit | 08e38f005ee2e2fee5491ce5831ee16aa03fca53 (patch) | |
tree | 0574c340391ee24a8316c6c2d4761940eec60564 /src/util | |
parent | Update Member.ts (diff) | |
download | server-08e38f005ee2e2fee5491ce5831ee16aa03fca53.tar.xz |
Update Member.ts
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Member.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/Member.ts b/src/util/Member.ts index fa1d3a27..c900a49b 100644 --- a/src/util/Member.ts +++ b/src/util/Member.ts @@ -110,6 +110,14 @@ export async function removeMember(user_id: string, guild_id: string) { }, user_id: user_id, } as GuildDeleteEvent), + emitEvent({ + event: "GUILD_MEMBER_REMOVE", + data: { + guild_id: guild_id, + user: user, + }, + guild_id: guild_id, + } as GuildMemberRemoveEvent), ]); } |