From 9276975a459755fb4c85e5b38dd05347d77df428 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 21 Apr 2022 10:05:07 -0500 Subject: [PATCH] Have error generator get user avatar instead of setting it in the command. --- start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.js b/start.js index 483f924..effc033 100755 --- a/start.js +++ b/start.js @@ -18,7 +18,7 @@ client.generateErrorMessage = (errorMsg, messageAuthorURL) => ({embed: { "title": "<:AnitroxError:809651936563429416> Error", "color": 13632027, "footer": { - "icon_url": messageAuthorURL, + "icon_url": message.author.displayAvatarURL(), "text": config.footerTxt }, "fields": [