mirror of
https://github.com/arthur-pbty/flint.git
synced 2026-08-01 20:29:03 +02:00
- Implemented a new `/presence` command allowing users to configure the bot's presence with an interactive panel. - Added localization support for Spanish and French languages. - Integrated PostgreSQL for storing and retrieving bot presence states. - Created a Dockerfile and docker-compose configuration for easy deployment. - Updated environment configuration to include database connection settings. - Refactored command handling to include the new presence command. - Enhanced error handling and user feedback for the presence command interactions.
190 lines
6.2 KiB
JSON
190 lines
6.2 KiB
JSON
{
|
|
"errors": {
|
|
"args": {
|
|
"missing": "Falta el argumento {{arg}}. Uso: {{usage}}",
|
|
"invalidInt": "El argumento debe ser un entero. Recibido: {{value}}",
|
|
"invalidNumber": "El argumento debe ser un numero. Recibido: {{value}}",
|
|
"invalidBoolean": "El argumento debe ser un valor booleano. Recibido: {{value}}",
|
|
"invalidUser": "No se pudo resolver un usuario desde {{value}}"
|
|
},
|
|
"permissions": {
|
|
"user": "Te faltan permisos: {{permissions}}"
|
|
},
|
|
"execution": "Ocurrio un error inesperado al ejecutar este comando."
|
|
},
|
|
"categories": {
|
|
"fun": "Diversion",
|
|
"utility": "Utilidad",
|
|
"core": "Nucleo"
|
|
},
|
|
"commands": {
|
|
"kiss": {
|
|
"name": "beso",
|
|
"description": "Enviar un beso a otro usuario.",
|
|
"args": {
|
|
"user": "Usuario objetivo"
|
|
},
|
|
"examples": {
|
|
"basic": "Enviar un beso a un miembro"
|
|
},
|
|
"responses": {
|
|
"success": "{{from}} envia un beso a {{to}}."
|
|
}
|
|
},
|
|
"ping": {
|
|
"name": "ping",
|
|
"description": "Revisar latencia websocket del bot.",
|
|
"examples": {
|
|
"basic": "Chequeo basico"
|
|
},
|
|
"responses": {
|
|
"pong": "Pong. Latencia websocket: {{latency}}ms."
|
|
}
|
|
},
|
|
"advanced": {
|
|
"name": "avanzada",
|
|
"description": "Comando de demostracion que usa todos los parametros disponibles.",
|
|
"args": {
|
|
"text": "Texto obligatorio",
|
|
"count": "Entero obligatorio",
|
|
"ratio": "Numero decimal opcional",
|
|
"enabled": "Bandera booleana opcional",
|
|
"user": "Usuario objetivo obligatorio",
|
|
"channel": "Canal opcional",
|
|
"role": "Rol opcional"
|
|
},
|
|
"examples": {
|
|
"full": "Ejemplo prefix completo con todos los tipos de argumentos",
|
|
"slash": "Equivalente en slash"
|
|
},
|
|
"responses": {
|
|
"summary": "Resumen comando avanzada\ntext={{text}}\ncount={{count}}\nratio={{ratio}}\nenabled={{enabled}}\nuser={{user}}\nchannel={{channel}}\nrole={{role}}\nsource={{source}}"
|
|
}
|
|
},
|
|
"presence": {
|
|
"name": "presence",
|
|
"description": "Configurar la presencia del bot con un panel interactivo.",
|
|
"examples": {
|
|
"slash": "Abrir el panel interactivo de presencia"
|
|
},
|
|
"responses": {
|
|
"slashOnly": "Este comando solo esta disponible como slash.",
|
|
"panel": "Panel de presencia\nEstado: {{status}}\nActividad: {{activityType}}\nTexto: {{activityText}}",
|
|
"statusUpdated": "Estado actualizado a {{status}}.",
|
|
"activityUpdated": "Tipo de actividad actualizado a {{activityType}}.",
|
|
"textUpdated": "Texto de presencia actualizado: {{activityText}}",
|
|
"notOwner": "Solo el autor del comando puede usar este panel.",
|
|
"invalidSelection": "Seleccion invalida.",
|
|
"modalTimeout": "Tiempo agotado para editar el texto. Pulsa el boton otra vez."
|
|
},
|
|
"ui": {
|
|
"status": {
|
|
"placeholder": "Elegir un estado",
|
|
"options": {
|
|
"online": {
|
|
"label": "En linea",
|
|
"description": "Muestra el bot en linea"
|
|
},
|
|
"idle": {
|
|
"label": "Inactivo",
|
|
"description": "Muestra el bot inactivo"
|
|
},
|
|
"dnd": {
|
|
"label": "No molestar",
|
|
"description": "Muestra el bot en no molestar"
|
|
},
|
|
"invisible": {
|
|
"label": "Desconectado",
|
|
"description": "Muestra el bot fuera de linea"
|
|
},
|
|
"streaming": {
|
|
"label": "Streaming",
|
|
"description": "Muestra el bot en modo streaming"
|
|
}
|
|
}
|
|
},
|
|
"activity": {
|
|
"placeholder": "Elegir un tipo de actividad",
|
|
"options": {
|
|
"PLAYING": {
|
|
"label": "Jugando",
|
|
"description": "Muestra Jugando a ..."
|
|
},
|
|
"STREAMING": {
|
|
"label": "Streaming",
|
|
"description": "Muestra En directo en ..."
|
|
},
|
|
"WATCHING": {
|
|
"label": "Viendo",
|
|
"description": "Muestra Viendo ..."
|
|
},
|
|
"LISTENING": {
|
|
"label": "Escuchando",
|
|
"description": "Muestra Escuchando ..."
|
|
},
|
|
"COMPETING": {
|
|
"label": "Compitiendo",
|
|
"description": "Muestra Compitiendo en ..."
|
|
},
|
|
"CUSTOM": {
|
|
"label": "CustomStatus",
|
|
"description": "Muestra un estado personalizado"
|
|
}
|
|
}
|
|
},
|
|
"embed": {
|
|
"title": "Configuracion de Presencia",
|
|
"description": "Cambia el estado, el tipo de actividad y el texto en tiempo real.",
|
|
"footer": "Panel interactivo /presence",
|
|
"fields": {
|
|
"status": "Estado",
|
|
"activity": "Tipo de actividad",
|
|
"text": "Texto"
|
|
}
|
|
},
|
|
"textButton": "📝 Editar texto",
|
|
"modal": {
|
|
"title": "Texto de presencia",
|
|
"label": "Texto de actividad",
|
|
"placeholder": "Ejemplo: 🚀 En mantenimiento"
|
|
}
|
|
}
|
|
},
|
|
"help": {
|
|
"name": "ayuda",
|
|
"description": "Mostrar lista de comandos o detalles de un comando.",
|
|
"args": {
|
|
"command": "Nombre o trigger opcional del comando"
|
|
},
|
|
"examples": {
|
|
"basic": "Listar todos los comandos",
|
|
"single": "Mostrar detalles de un comando"
|
|
},
|
|
"errors": {
|
|
"notFound": "Ningun comando coincide con {{query}}."
|
|
},
|
|
"embed": {
|
|
"title": "Ayuda de Comandos",
|
|
"description": "Usa {{usage}} para inspeccionar un comando.",
|
|
"categoryEmpty": "No hay comandos en esta categoria.",
|
|
"detailsTitle": "Comando: {{name}}",
|
|
"detailsDescription": "{{description}}",
|
|
"footer": "Categoria: {{source}}",
|
|
"fields": {
|
|
"usage": "Uso",
|
|
"arguments": "Argumentos",
|
|
"examples": "Ejemplos"
|
|
}
|
|
},
|
|
"labels": {
|
|
"prefix": "Prefijo",
|
|
"slash": "Slash",
|
|
"required": "requerido",
|
|
"optional": "opcional",
|
|
"noArgs": "Sin argumentos.",
|
|
"noExamples": "Sin ejemplos."
|
|
}
|
|
}
|
|
}
|
|
}
|