Added dprint and formatted file to it

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-09-06 22:57:15 +02:00
parent 55e1cf7cdf
commit f389209e21
106 changed files with 398 additions and 395 deletions

View File

@@ -1,5 +1,5 @@
import { devMessage, embedColor } from "config/options.js"
import { ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, ChatInputCommandInteraction, ComponentType } from "discord.js"
import { embedColor, devMessage } from "config/options.js"
import env from "utils/Env.js"
export default async function prune(interaction: ChatInputCommandInteraction): Promise<void> {
@@ -89,7 +89,7 @@ export default async function prune(interaction: ChatInputCommandInteraction): P
embeds: [{
description: "Cancelled",
color: embedColor
}],
}]
}).then(() => {
collector.stop()
})
@@ -104,13 +104,13 @@ export default async function prune(interaction: ChatInputCommandInteraction): P
}
await m.edit({
components: [],
components: []
})
await i.editReply({
embeds: [{
description: "Pruned all the members",
color: embedColor
}],
}]
}).then(() => {
collector.stop()
})