mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-16 03:18:20 +00:00
Add new ESLint rules
This commit is contained in:
@@ -9,7 +9,7 @@ class PresenceUpdateHandler extends AbstractHandler {
|
||||
let user = client.users.get(data.user.id);
|
||||
const guild = client.guilds.get(data.guild_id);
|
||||
|
||||
// step 1
|
||||
// Step 1
|
||||
if (!user) {
|
||||
if (data.user.username) {
|
||||
user = client.dataManager.newUser(data.user);
|
||||
|
||||
Reference in New Issue
Block a user