1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00

Update Member.ts

This commit is contained in:
Intevel ツ 2021-05-08 13:07:45 +02:00
parent 08e38f005e
commit ffb3adbacd

View File

@ -137,7 +137,7 @@ export async function addRole(user_id: string, guild_id: string, role_id: string
if(!memberObj) throw new Error("Internal server error");
emitEvent({
await emitEvent({
event: "GUILD_MEMBER_UPDATE",
data: {
guild_id: guild_id,
@ -166,7 +166,7 @@ export async function removeRole(user_id: string, guild_id: string, role_id: str
if(!memberObj) throw new Error("Internal server error");
emitEvent({
await emitEvent({
event: "GUILD_MEMBER_UPDATE",
data: {
guild_id: guild_id,