V0.5 du système de rapport plusieurs choses à revoir avant MEP

This commit is contained in:
Mathis 2026-06-14 22:36:21 +02:00
parent 69cc25b99a
commit 8bcc40f217
4 changed files with 921 additions and 5 deletions

View file

@ -3159,14 +3159,17 @@ class TicketCommands(commands.Cog):
return
# Accept both ticket_* / catv2_* / close_* custom_ids
if not (
str(custom_id).startswith("ticket_")
if not (str(custom_id).startswith("ticket_")
or str(custom_id).startswith("catv2_")
or str(custom_id).startswith("cat_")
or str(custom_id) in {"close_confirm", "close_cancel", "delay_cancel"}
):
or str(custom_id).startswith("reports_filter_")
or str(custom_id) in {"close_confirm", "close_cancel", "delay_cancel"}):
return
if not inter.guild:
return