feat: use editReply

This commit is contained in:
TresAbhi committed 2023-04-27 01:15:57 +00:00
1 parent 67294e9178
commit dec54dbe6b
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ import { NEGATIVE_COLOR } from '../constants/colors.js';
export default async function wargamingError( export default async function wargamingError(
interaction: ChatInputCommandInteraction<CacheType>, interaction: ChatInputCommandInteraction<CacheType>,
) { ) {
await interaction.reply({ await interaction.editReply({
embeds: [ embeds: [
new EmbedBuilder() new EmbedBuilder()
.setColor(NEGATIVE_COLOR) .setColor(NEGATIVE_COLOR)