feat: better command error reporting

This commit is contained in:
TresAbhi committed 2023-05-06 18:03:37 +00:00
1 parent 5ef1f87236
commit 92acbc8e95
16 files changed
+668 -31

No files matched your search

+3 -1
View File
@@ -40,10 +40,12 @@ export default {
const name = interaction.options.getString('name')!;
const server = interaction.options.getString('server') as BlitzServer;
const clan = interaction.options.getString('clan') as keyof typeof CLANS;
const command = `eligible ${server} ${name} ${clan}`;
getBlitzAccount(interaction, name, server, async (account) => {
getBlitzAccount(interaction, command, name, server, async (account) => {
getBlitzStarsAccount(
interaction,
command,
account.account_id,
name,
async (data) => {