mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: searchplayers
This commit is contained in:
1 parent
a9ba84e5d1
commit
8569079af9
12 files changed
+110
-91
No files matched your search
@@ -3,11 +3,13 @@ import {
|
||||
ChatInputCommandInteraction,
|
||||
EmbedBuilder,
|
||||
} from 'discord.js';
|
||||
import { handleError } from '../behaviors/error.js';
|
||||
import { NEGATIVE_COLOR } from '../constants/colors.js';
|
||||
import { client } from '../index.js';
|
||||
|
||||
export default async function wargamingError(
|
||||
interaction: ChatInputCommandInteraction<CacheType>,
|
||||
error: Error,
|
||||
) {
|
||||
await interaction.editReply({
|
||||
embeds: [
|
||||
@@ -18,5 +20,6 @@ export default async function wargamingError(
|
||||
],
|
||||
});
|
||||
|
||||
console.log('Wargaming returned an error.');
|
||||
console.log(`Wargaming returned an error`);
|
||||
handleError(error, client);
|
||||
}
|
||||
Reference in new issue
Block a user