all repos — stealth-developers @ 0ee3bfbfad5c5c6434e730c64a504375334db464

bot: dont remove moderators from tickets
vi did:web:vt3e.cat
Tue, 30 Jun 2026 23:40:54 +0100
commit

0ee3bfbfad5c5c6434e730c64a504375334db464

parent

80180ee40ecc4d92d5572e4c8c32e3517a42ca16

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M apps/bot/src/feats/tickets/actions/lifecycle.tsapps/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!,