bot: dont remove moderators from tickets
vi did:web:vt3e.cat
Tue, 30 Jun 2026 23:40:54 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
M
apps/bot/src/feats/tickets/actions/lifecycle.ts
→
apps/bot/src/feats/tickets/actions/lifecycle.ts
@@ -359,7 +359,7 @@ components: [actionRow],
flags: ["SuppressNotifications"], }).catch((err) => logger.error(err, `Failed to message closed channel ${channel.id}`)); - if (channel.type === ChannelType.GuildText) + if (channel.type === ChannelType.GuildText && !dbSubject.moderator) channel.permissionOverwrites .edit( dbSubject.discordId!,