fix: try and catch for encoding

This commit is contained in:
TresAbhi committed 2023-06-02 01:50:18 +00:00
1 parent f4b20611d5
commit 2c8ae40ff8
5 files changed
+17 -19

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ import { PlayerClanData } from '../types/playerClanData.js';
export default {
inProduction: true,
inDevelopment: true,
inDevelopment: false,
inPublic: true,
command: new SlashCommandBuilder()
+1 -1
View File
@@ -40,7 +40,7 @@ import { TanksStats } from '../types/tanksStats.js';
export default {
inProduction: true,
inDevelopment: true,
inDevelopment: false,
inPublic: true,
command: new SlashCommandBuilder()
+2 -7
View File
@@ -33,7 +33,7 @@ import { TanksStats } from '../types/tanksStats.js';
export default {
inProduction: true,
inDevelopment: true,
inDevelopment: false,
inPublic: true,
command: new SlashCommandBuilder()
@@ -191,12 +191,7 @@ export default {
await interaction.editReply({
embeds:
rows.length >= 6
? [
infoEmbed(
'Very large image!',
"Don't forget to oom in.",
),
]
? [infoEmbed('Very large image!', "Don't forget to oom in.")]
: undefined,
files: [image],
components: [actionRow],