mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
prevent further user inaccuracies
This commit is contained in:
@@ -15,7 +15,7 @@ class UserUpdateAction extends Action {
|
||||
}
|
||||
|
||||
const oldUser = cloneObject(client.user);
|
||||
client.user.setup(data);
|
||||
client.user.patch(data);
|
||||
client.emit(Constants.Events.USER_UPDATE, oldUser, client.user);
|
||||
return {
|
||||
old: oldUser,
|
||||
|
||||
Reference in New Issue
Block a user