Add string customization and example.env

This commit is contained in:
2021-05-02 18:26:18 +02:00
parent cbb4a6898b
commit cd51b092fc
13 changed files with 65 additions and 12 deletions

10
strings/en.json Normal file
View File

@@ -0,0 +1,10 @@
{
"WELCOME": "Beep boop. I'm a bot. Hi.",
"USER_JOINED": "%s joined the channel.",
"USER_LEFT": "%s left the channel.",
"SYSTEM_VOICE_CHANGED": "My new voice is %s from %s",
"USER_VOICE_CHANGED": "Your new voice is %s from %s",
"INVALID_ENGINE": "%s is not a valid engine name.",
"INVALID_VOICE": "invalid voice name. Using default voice %s for %s instead.",
"TOO_MANY_ARGUMENTS": "too many arguments for command."
}

10
strings/es.json Normal file
View File

@@ -0,0 +1,10 @@
{
"WELCOME": "Hola hola, soy un bot.",
"USER_JOINED": "%s se ha unido al canal.",
"USER_LEFT": "%s ha salido del canal.",
"SYSTEM_VOICE_CHANGED": "Mi nueva voz es %s de %s",
"USER_VOICE_CHANGED": "Tu nueva voz es %s de %s",
"INVALID_ENGINE": "%s no es un nombre de motor válido.",
"INVALID_VOICE": "Nombre de voz no válido. Usando voz por defecto %s para %s.",
"TOO_MANY_ARGUMENTS": "Demasiados argumentos para el comando."
}