Update parameter names

This commit is contained in:
Nathaniel Mason 2022-04-18 17:06:24 +01:00
parent db5c9f4f55
commit fc0235a1ce
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ module.exports = {
name: 'eval', name: 'eval',
description: 'Executes JS code', description: 'Executes JS code',
async execute(client, message, args, config) { async execute(_, message, args, config) {
if (message.author.id == config.ownerID) { if (message.author.id == config.ownerID) {
try { try {
const code = args.join(" "); const code = args.join(" ");

View file

@ -1,7 +1,7 @@
module.exports = { module.exports = {
name: 'restart', name: 'restart',
description: 'Restarts the bot', description: 'Restarts the bot',
async execute(client, message, args, config) { async execute(client, message, _, config) {
if (message.author.id == config.ownerID) { if (message.author.id == config.ownerID) {
console.log("Anitrox is restarting now!") console.log("Anitrox is restarting now!")
await message.channel.send("<a:NyabotWorking:697147309531594843> Restarting...") await message.channel.send("<a:NyabotWorking:697147309531594843> Restarting...")

View file

@ -1,7 +1,7 @@
module.exports = { module.exports = {
name: "stop", name: "stop",
description: "IT'S TIME TO STOP!... the bot", 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) { if (message.author.id == config.ownerID) {
await message.channel.send({embed: { await message.channel.send({embed: {
"title": "<a:AnitroxWorking:697147309531594843> **Shutting Down...**", "title": "<a:AnitroxWorking:697147309531594843> **Shutting Down...**",