From fc0235a1ce5f6404d368ac1b9142d3f7357c955b Mon Sep 17 00:00:00 2001 From: Nathaniel Mason Date: Mon, 18 Apr 2022 17:06:24 +0100 Subject: [PATCH] Update parameter names --- commands/eval.js | 2 +- commands/restart.js | 2 +- commands/stop.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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...**",