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:
parent
f5bcde72c6
commit
f15e339611
@ -142,7 +142,7 @@ export async function addRole(user_id: string, guild_id: string, role_id: string
|
|||||||
roles: memberObj.roles
|
roles: memberObj.roles
|
||||||
|
|
||||||
},
|
},
|
||||||
user_id: user_id,
|
guild_id: guild_id,
|
||||||
} as GuildMemberUpdateEvent);
|
} as GuildMemberUpdateEvent);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -168,7 +168,7 @@ export async function removeRole(user_id: string, guild_id: string, role_id: str
|
|||||||
roles: memberObj.roles
|
roles: memberObj.roles
|
||||||
|
|
||||||
},
|
},
|
||||||
user_id: user_id,
|
guild_id: guild_id,
|
||||||
} as GuildMemberUpdateEvent);
|
} as GuildMemberUpdateEvent);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user