mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
Update ClientUser.js (#1739)
This commit is contained in:
parent
963cf42e0d
commit
4b77f26851
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class ClientUser extends User {
|
||||||
if (data.user_guild_settings) {
|
if (data.user_guild_settings) {
|
||||||
for (const settings of data.user_guild_settings) {
|
for (const settings of data.user_guild_settings) {
|
||||||
const guild = this.client.guilds.get(settings.guild_id);
|
const guild = this.client.guilds.get(settings.guild_id);
|
||||||
this.guildSettings.set(guild.id, new ClientUserGuildSettings(settings, guild));
|
this.guildSettings.set(settings.guild_id, new ClientUserGuildSettings(settings, guild));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue