Have error generator get user avatar instead of setting it in the command.
This commit is contained in:
parent
9388496662
commit
9276975a45
2
start.js
2
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": [
|
||||
|
|
Reference in New Issue