mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
The Power of const
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports = class MotivateCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let userToMotivate = args.thing || message.author;
|
||||
const userToMotivate = args.thing || message.author;
|
||||
return message.say(`${userToMotivate}, https://www.youtube.com/watch?v=ZXsQAXx_ao0`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user