Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#modifyCurrentUserNick

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.modifyCurrentUserNick
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Modifies the nickname of the current user in a guild. Returns a 200 with the nickname on success. Fires a Guild Member Update Gateway event.

Parameters

guildId: string
payload: { nick?: string | null; }

Returns

Promise<string>