We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 137b48e commit 5972ce9Copy full SHA for 5972ce9
1 file changed
āsrc/commands/moderation/repel.tsā
@@ -131,7 +131,10 @@ const getTextChannels = (interaction: ChatInputCommandInteraction) => {
131
return [];
132
}
133
const channels = getPublicChannels(interaction.guild).map((c) => c);
134
- return channels;
+ return [
135
+ interaction.channel as TextChannel,
136
+ ...channels.filter((c) => c.id !== interaction.channelId),
137
+ ];
138
};
139
140
const handleDeleteMessages = async ({
0 commit comments