Fixed some translation errors & added Catalan!

This commit is contained in:
DJj123dj
2024-08-21 22:46:54 +02:00
parent 0a69efdfe5
commit 1dd8c0246a
19 changed files with 507 additions and 18 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export const registerCommandResponders = async () => {
//return when user is not a participant of the ticket (admins & creator can't be removed)
const participants = await openticket.tickets.getAllTicketParticipants(ticket)
if (!participants || !participants.find((p) => p.user.id == data.id && p.role == "participant")){
instance.reply(await openticket.builders.messages.getSafe("openticket:error").build("button",{guild,channel,user,error:"Unable to remove this user from the ticket!",layout:"simple"}))
instance.reply(await openticket.builders.messages.getSafe("openticket:error").build("button",{guild,channel,user,error:openticket.languages.getTranslation("errors.actionInvalid.remove"),layout:"simple"}))
return cancel()
}