fix(🚨 security): anyone with the channel ID could read transcripts

This commit is contained in:
Isaac
2023-08-24 17:34:32 +01:00
parent 2abd9cc008
commit b2790fca40
2 changed files with 53 additions and 22 deletions

View File

@@ -228,6 +228,9 @@ commands:
transcript:
description: Get the transcript of a ticket
name: transcript
not_staff:
description: Only staff members can read the transcripts of others' tickets.
title: ❌ Error
options:
member:
description: The member to search for tickets of