We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d5e5bf commit 7df2cdbCopy full SHA for 7df2cdb
‎src/commands/moderation/repel.ts‎
@@ -130,7 +130,7 @@ const getTextChannels = (interaction: ChatInputCommandInteraction) => {
130
console.error('Interaction is not in a guild');
131
return [];
132
}
133
- const channels = getPublicChannels(interaction.guild).map((c) => c);
+ const channels = getPublicChannels(interaction.guild).values();
134
return [
135
interaction.channel as TextChannel,
136
...channels.filter((channel) => channel.id !== interaction.channelId),
0 commit comments