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