diff --git a/commands/eval.js b/commands/eval.js index cad5859..1b0983c 100644 --- a/commands/eval.js +++ b/commands/eval.js @@ -3,7 +3,7 @@ module.exports = { name: 'eval', description: 'Executes JS code', - async execute(client, message, args, config) { + async execute(_, message, args, config) { if (message.author.id == config.ownerID) { try { const code = args.join(" "); diff --git a/commands/restart.js b/commands/restart.js index 2c78ca6..fafd9e2 100644 --- a/commands/restart.js +++ b/commands/restart.js @@ -1,7 +1,7 @@ module.exports = { name: 'restart', description: 'Restarts the bot', - async execute(client, message, args, config) { + async execute(client, message, _, config) { if (message.author.id == config.ownerID) { console.log("Anitrox is restarting now!") await message.channel.send(" Restarting...") diff --git a/commands/stop.js b/commands/stop.js index f47c4cb..2631741 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -1,7 +1,7 @@ module.exports = { name: "stop", description: "IT'S TIME TO STOP!... the bot", - async execute(_, message, args, config) { + async execute(_0, message, _1, config) { if (message.author.id == config.ownerID) { await message.channel.send({embed: { "title": " **Shutting Down...**",