mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-10 11:45:35 +00:00
Merge branch 'master' of https://github.com/fosscord/fosscord-api
This commit is contained in:
@@ -197,6 +197,7 @@ export async function removeRole(user_id: string, guild_id: string, role_id: str
|
||||
export async function changeNickname(user_id: string, guild_id: string, nickname: string) {
|
||||
const user = await getPublicUser(user_id);
|
||||
|
||||
|
||||
var memberObj = await MemberModel.findOneAndUpdate(
|
||||
{
|
||||
id: user_id,
|
||||
|
||||
Reference in New Issue
Block a user