feat: variable skilled bot username

This commit is contained in:
TresAbhi committed 2023-04-28 13:52:31 +00:00
1 parent a3b2a34d7f
commit 8749c21010
5 files changed
+15 -10

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ function handleError(error: Error, client: Client) {
).send({
embeds: [
new EmbedBuilder()
.setTitle('Skilled Bot ran into a catastrophic error')
.setTitle(`${client.user?.username} ran into a catastrophic error`)
.setColor(NEGATIVE_COLOR)
.setDescription(
`\`\`\`${error.name}\n${error.message}\n${error.stack}\n${error.cause}\`\`\``,