From 3b2a3c4f78387a10a5a4675d55d45bfe15327c58 Mon Sep 17 00:00:00 2001 From: 1computer1 Date: Tue, 12 Mar 2019 12:18:08 -0400 Subject: [PATCH] Fix incorrect arguments in error handler --- src/listeners/error.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/listeners/error.js b/src/listeners/error.js index d92698d..1fce7c0 100644 --- a/src/listeners/error.js +++ b/src/listeners/error.js @@ -9,7 +9,7 @@ class ErrorListener extends Listener { }); } - exec(message, err) { + exec(err, message) { message.util.send([ 'An error occured:', '```',