Guh
This commit is contained in:
parent
ed28cf03ca
commit
5fcfdd85ad
2
index.js
2
index.js
|
@ -285,7 +285,7 @@ client.on('messageCreate', async (message) => {
|
||||||
return message.channel.send({
|
return message.channel.send({
|
||||||
"embeds": [{
|
"embeds": [{
|
||||||
"title": "Error",
|
"title": "Error",
|
||||||
"description": `${lang.errors[err.response.status]}`,
|
"description": `An error occured: \njson\n\`\`\`{${JSON.stringify(err, null, "\t")}}\`\`\``,
|
||||||
"color": 0xFF0000
|
"color": 0xFF0000
|
||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue