From 43f73c5403c76420c875630e06a9ffad7b6193a4 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 14 Jul 2022 12:49:54 -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 df12710..c7a88bc 100644 --- a/commands/eval.js +++ b/commands/eval.js @@ -20,7 +20,7 @@ module.exports = { await interaction.reply(this.handle(client, config, interaction.user, interaction.options.getString('code'))); }, - handle (_, config, user, code) { + handle (client, config, user, code) { if (user.id === config.ownerID) { try { const evaled = inspect(eval(code));