Skip to content

Commit cb8417c

Browse files
authored
Update index.ts
1 parent a9e1d00 commit cb8417c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/v2/commands/repel/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ const getTextChannels = (interaction: ChatInputCommandInteraction) => {
104104
(ch): ch is TextChannel =>
105105
!IGNORED_CHANNEL_CATEGORIES.includes(ch.parentId) &&
106106
ch.type === ChannelType.GuildText &&
107+
interaction.channelId !== ch.id &&
107108
Boolean(ch.lastMessageId),
108109
)
109110
.values();

0 commit comments

Comments
 (0)