From e0a7891b4adcb9f45b72978a06a68be9d5dc22d8 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Tue, 29 Mar 2022 19:04:20 -0500 Subject: [PATCH] Pass client to eval --- commands/eval.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/eval.js b/commands/eval.js index 1b0983c..cad5859 100644 --- a/commands/eval.js +++ b/commands/eval.js @@ -3,7 +3,7 @@ module.exports = { name: 'eval', description: 'Executes JS code', - async execute(_, message, args, config) { + async execute(client, message, args, config) { if (message.author.id == config.ownerID) { try { const code = args.join(" ");