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

+2 -1
View File
@@ -4,6 +4,7 @@ import {
EmbedBuilder,
} from 'discord.js';
import { NEGATIVE_COLOR } from '../constants/colors.js';
import { client } from '../index.js';
export default async function wargamingError(
interaction: ChatInputCommandInteraction<CacheType>,
@@ -12,7 +13,7 @@ export default async function wargamingError(
embeds: [
new EmbedBuilder()
.setColor(NEGATIVE_COLOR)
.setTitle('Skilled Bot ran into an issue')
.setTitle(`${client.user?.username} ran into an issue`)
.setDescription('Wargaming returned an error. Please try again later.'),
],
});