Skip to content

Commit 6db53f1

Browse files
authored
Don’t permit invites to ticket threads (#182)
1 parent 5c1b721 commit 6db53f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/commands/setupTickets.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ export const Command = [
190190
name: `${user.username}${format(new Date(), "PP kk:mmX")}`,
191191
autoArchiveDuration: 60 * 24 * 7,
192192
type: ChannelType.PrivateThread,
193+
invitable: false,
193194
});
194195
await thread.send({
195196
content: `<@${user.id}>, this is a private space only visible to you and the <@&${config.role_id}> role.`,

0 commit comments

Comments
 (0)