Smh forgot to uncomment main part

This commit is contained in:
2024-02-08 18:08:27 +01:00
parent 7f32b1e680
commit 195375631e

View File

@@ -97,11 +97,11 @@ export default async function prune(interaction: ChatInputCommandInteraction): P
} else if (i.customId === buttonid) { } else if (i.customId === buttonid) {
await i.deferUpdate() await i.deferUpdate()
const members = i.message.embeds[0].fields const members = i.message.embeds[0].fields
// for (const member of members) { for (const member of members) {
// const guildMember = await interaction.guild!.members.fetch(member.value) const guildMember = await interaction.guild!.members.fetch(member.value)
//
// await i.guild?.members.kick(guildMember, "Pruned") await i.guild?.members.kick(guildMember, "Pruned")
// } }
await m.edit({ await m.edit({
components: [], components: [],