mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 10:57:08 +02:00
The Power of const
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = class AvatarCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let user = args.user;
|
||||
const user = args.user;
|
||||
return message.say(user.displayAvatarURL);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user