mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
hydarplz (#962)
This commit is contained in:
@@ -319,7 +319,7 @@ class RESTMethods {
|
||||
if (member.id === this.rest.client.user.id) {
|
||||
const keys = Object.keys(data);
|
||||
if (keys.length === 1 && keys[0] === 'nick') {
|
||||
endpoint = Constants.Endpoints.stupidInconsistentGuildEndpoint(member.guild.id);
|
||||
endpoint = Constants.Endpoints.guildMemberNickname(member.guild.id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user