feat: general inactive command

This commit is contained in:
TresAbhi committed 2023-04-26 01:23:07 +00:00
1 parent 468bca77de
commit 57cc67c8be
10 files changed
+189 -115

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ import { PlayerStatistics } from '../types/statistics.js';
export default async function getBlitzStarsAccount(
interaction: ChatInputCommandInteraction<CacheType>,
accountId: number,
ign: string,
name: string,
callback: (account: PlayerStatistics) => void,
) {
function notTracked() {
@@ -18,7 +18,7 @@ export default async function getBlitzStarsAccount(
embeds: [
new EmbedBuilder()
.setTitle('No data to display')
.setDescription(`${ign} is not tracked by BlitzStars.`)
.setDescription(`${name} is not tracked by BlitzStars.`)
.setColor(NEGATIVE_COLOR),
],
});