Add pin command

This commit is contained in:
Isaac
2022-09-29 16:08:46 +01:00
parent 9d46abcbb3
commit 10ef6bb617
2 changed files with 70 additions and 1 deletions

View File

@@ -23,6 +23,17 @@ commands:
name: Create a ticket from message
pin:
name: Pin message
not_pinnable:
description: |
This message can't be pinned.
Please ask an administrator to check the bot's permissions.
title: ❌ Error
not_ticket:
description: You can only pin messages in tickets.
title: ❌ This isn't a ticket channel
pinned:
description: The message has been pinned.
title: ✅ Pinned message
slash:
add:
description: Add a member to a ticket