mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
feat: variable skilled bot username
This commit is contained in:
1 parent
a3b2a34d7f
commit
8749c21010
5 files changed
+15
-10
No files matched your search
@@ -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}\`\`\``,
|
||||
|
||||
Reference in new issue
Block a user