From 75fe3064abe2fd4ae33f9c8e1fee430357b648d4 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 16 Mar 2021 17:09:00 -0500 Subject: [PATCH] Fixed an issue in cmd handler that broke everything. --- start.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/start.js b/start.js index ddf69d1..f460495 100644 --- a/start.js +++ b/start.js @@ -72,11 +72,11 @@ client.on('message', message => { if (!client.commands.has(command)) return; try { - client.commands.get(command).execute(client, message, args); + client.commands.get(command).execute(client, message, args, Discord); } catch (error) { console.error const embed = { - "title": "<:NyabotError:697145462347661412> **Well that happened...**", + "title": "<:AnitroxError:809651936563429416> **Well that happened...**", "color": 13632027, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -89,7 +89,7 @@ client.on('message', message => { }, { "name": "Error Info", - "value": error.message + "value": error.stack } ] };