Skip to content

Commit

Permalink
Make more commands clickable (#1810)
Browse files Browse the repository at this point in the history
* Make more commands clickable

* Revert embed from footer text

* Shorten subunits fr description

* Add back some code formatting on preset
  • Loading branch information
taahamahdi authored Jan 10, 2024
1 parent 6b9704e commit aeb38b4
Show file tree
Hide file tree
Showing 25 changed files with 325 additions and 183 deletions.
24 changes: 12 additions & 12 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"begin": {
"ignored": {
"noTeam": {
"description": "Create a team using `{{join}} [team name]` before you can start the game."
"description": "Create a team using {{join}} team_name:[team name] before you can start the game."
},
"title": "Begin Ignored"
}
Expand Down Expand Up @@ -357,7 +357,7 @@
"interaction": {
"failure": {
"notHidden": {
"description": "`/guess` can only be used during `/play hidden`.",
"description": "{{guessCommand}} can only be used during {{playHiddenCommand}}.",
"title": "Guess Ignored"
}
},
Expand Down Expand Up @@ -385,7 +385,7 @@
},
"help": {
"command": "command",
"description": "Type {{play}} in chat and the bot will play a random k-pop song in VC. The goal of this game is to be the first person to guess the song name in chat.\nSee your current game options with {{options}}. Use {{help}} `[{{command}}]` to get more details ",
"description": "Type {{play}} in chat and the bot will play a random k-pop song in VC. The goal of this game is to be the first person to guess the song name in chat.\nSee your current game options with {{options}}. Use {{help}} action:`[{{command}}]` to get more details ",
"examples": "Examples",
"failure": {
"noDocs": "Sorry, there is no documentation on {{action}}."
Expand Down Expand Up @@ -801,7 +801,7 @@
"listeningSessionNotAvailable": "Some options are not available during a listening session",
"notSet": "Not set",
"overview": "Now playing the top {{limit}} out of {{totalSongs}} available songs from the following options:",
"perCommandHelp": "Looking for information on how to use a command? Check out \"{{helpCommand}} [command]\" to learn more.",
"perCommandHelp": "Looking for information on how to use a command? Check out {{helpCommand}} action:[command] to learn more.",
"premiumOptionsNonPremiumGame": "Note: active game is not premium",
"preset": "Preset",
"reset": "{{presetOrOption}} Reset",
Expand Down Expand Up @@ -845,7 +845,7 @@
"overrideTeams": {
"description": "If you meant to start a {{oldGameType}} game, {{end}} this game, call {{playOldGameType}}, {{gameSpecificInstructions}}, and then call {{begin}}.",
"teams": {
"join": "`{{join}} [team name]` a team"
"join": "{{join}} team_name:[team name] a team"
},
"title": "Ignoring {{playOldGameType}}"
}
Expand Down Expand Up @@ -925,12 +925,12 @@
"title": "Preset Deleted"
},
"exported": {
"description": "Import {{presetName}} as a new preset in other servers using:\n`{{presetImport}} {{presetUUID}} [preset_name]`\n\nAlternatively, load the preset's options directly using:\n`{{presetLoad}} {{presetUUID}}`",
"description": "Import {{presetName}} as a new preset in other servers using:\n{{presetImport}} `exported_preset:{{presetUUID}} new_preset_name:[preset_name]`\n\nAlternatively, load the preset's options directly using:\n{{presetLoad}} `preset_name:{{presetUUID}}`",
"title": "Preset Exported"
},
"failure": {
"alreadyExists": {
"description": "Preset {{presetNameFormatted}} already exists. You can delete the old one with `{{presetDelete}} {{presetName}}`.",
"description": "Preset {{presetNameFormatted}} already exists. You can delete the old one with {{presetDelete}} `preset_name:{{presetName}}`.",
"title": "Preset Already Exists"
},
"illegalPrefix": {
Expand All @@ -942,7 +942,7 @@
"title": "Preset Name Too Long"
},
"missingIdentifier": {
"description": "You must specify a preset identifier. Use `{{presetExport}} [preset_name]` to retrieve a preset's identifier.",
"description": "You must specify a preset identifier. Use {{presetExport}} `preset_name:[preset_name]` to retrieve a preset's identifier.",
"title": "Preset Identifier Missing"
},
"missingName": {
Expand Down Expand Up @@ -979,7 +979,7 @@
}
},
"imported": {
"description": "Load the newly imported preset using `{{presetLoad}} {{presetName}}`.",
"description": "Load the newly imported preset using {{presetLoad}} `preset_name:{{presetName}}`.",
"title": "Preset Imported"
},
"interaction": {
Expand Down Expand Up @@ -1302,7 +1302,7 @@
"description": "Choose whether to automatically include a group's subunits, when using {{groups}}.",
"example": {
"exclude": "Do not include subunits",
"include": "Automatically include subunits. For example, `{{groupCommand}} {{parentGroup}}` would include songs by {{parentGroup}}, {{subunitOne}}, {{subunitTwo}}, etc.",
"include": "Automatically include subunits. For example, {{groupCommand}} group_1:{{parentGroup}} would include songs by {{parentGroup}}, {{subunitOne}}, {{subunitTwo}}, etc.",
"reset": "Reset to the default option of {{defaultSubunit}}"
},
"name": "subunits"
Expand Down Expand Up @@ -1526,7 +1526,7 @@
"notInEnum": "Expected one of the following valid {{argument}} values: ({{validValues}})."
},
"numArguments": {
"incorrect": "Incorrect number of arguments. See `{{help}} {{command}}` for usage."
"incorrect": "Incorrect number of arguments. See {{help}} action:{{command}} for usage."
},
"number": {
"max": "Expected value less than or equal to {{max}} for {{argument}}",
Expand Down Expand Up @@ -1635,7 +1635,7 @@
"notHidden": "You can't do that during a hidden game.",
"notListeningSession": "You can't do that while in a listening session.",
"notPremium": "You need KMQ Premium to use this command (see {{premium}}).",
"notSpotify": "You can't change that option when playing from Spotify. Use `/spotify reset` before changing this option.",
"notSpotify": "You can't change that option when playing from Spotify. Use {{spotifyResetCommand}} before changing this option.",
"premiumOrDebugServer": "This command only works in the official KMQ server or for KMQ Premium members (see {{premium}}).",
"title": "Wait..."
},
Expand Down
22 changes: 11 additions & 11 deletions i18n/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"begin": {
"ignored": {
"noTeam": {
"description": "Crea un equipo usando `{{join}} [nombre del equipo]` antes de poder comenzar el juego."
"description": "Crea un equipo usando {{join}} team_name:[nombre del equipo] antes de poder comenzar el juego."
},
"title": "Ignorado"
}
Expand Down Expand Up @@ -357,7 +357,7 @@
"interaction": {
"failure": {
"notHidden": {
"description": "`/guess` solo puede ser usado durante `/play hidden`.",
"description": "{{guessCommand}} solo puede ser usado durante {{playHiddenCommand}}.",
"title": "Respuesta ignorada"
}
},
Expand Down Expand Up @@ -801,7 +801,7 @@
"listeningSessionNotAvailable": "Algunas opciones no están disponibles durante una sesión de escucha",
"notSet": "No establecido",
"overview": "Reproduciendo las mejores {{limit}} de {{totalSongs}} canciones disponibles de las siguientes opciones:",
"perCommandHelp": "¿Buscas información sobre cómo usar un comando? Echa un vistazo a \"{{helpCommand}} [comando]\" para obtener más información.",
"perCommandHelp": "¿Buscas información sobre cómo usar un comando? Echa un vistazo a {{helpCommand}} action:[comando] para obtener más información.",
"premiumOptionsNonPremiumGame": "Nota: el juego activo no es premium",
"preset": "Preestablecido",
"reset": "{{presetOrOption}} Restablecer",
Expand Down Expand Up @@ -845,7 +845,7 @@
"overrideTeams": {
"description": "Si quisiste iniciar un juego de {{oldGameType}}, {{end}} este juego, llama a {{playOldGameType}}, {{gameSpecificInstructions}}, y luego llama a {{begin}}.",
"teams": {
"join": "`{{join}} [nombre del equipo]` un equipo"
"join": "{{join}} team_name:[nombre del equipo] un equipo"
},
"title": "Ignorando {{playOldGameType}}"
}
Expand Down Expand Up @@ -925,12 +925,12 @@
"title": "Preestablecido Eliminado"
},
"exported": {
"description": "Importa {{presetName}} como un nuevo preestablecido en otros servidores usando:\n`{{presetImport}} {{presetUUID}} [nombre_preset]`\n\nAlternativamente, carga las opciones del preestablecido directamente usando:\n`{{presetLoad}} {{presetUUID}}`",
"description": "Importa {{presetName}} como un nuevo preestablecido en otros servidores usando:\n{{presetImport}} `exported_preset:{{presetUUID}} new_preset_name:[nombre_preset]`\n\nAlternativamente, carga las opciones del preestablecido directamente usando:\n{{presetLoad}} `preset_name:{{presetUUID}}`",
"title": "Preestablecido Exportado"
},
"failure": {
"alreadyExists": {
"description": "El preestablecido {{presetNameFormatted}} ya existe. Puedes eliminar el antiguo con `{{presetDelete}} {{presetName}}`.",
"description": "El preestablecido {{presetNameFormatted}} ya existe. Puedes eliminar el antiguo con {{presetDelete}} `preset_name:{{presetName}}`.",
"title": "Preestablecido Ya Existe"
},
"illegalPrefix": {
Expand All @@ -942,7 +942,7 @@
"title": "Nombre de preestablecido demasiado largo"
},
"missingIdentifier": {
"description": "Debe especificar un identificador de preestablecido. Use `{{presetExport}} [nombre_preset]` para obtener el identificador de un preestablecido.",
"description": "Debe especificar un identificador de preestablecido. Use {{presetExport}} `preset_name:[nombre_preset]` para obtener el identificador de un preestablecido.",
"title": "Falta el identificador de preestablecido"
},
"missingName": {
Expand Down Expand Up @@ -979,7 +979,7 @@
}
},
"imported": {
"description": "Carga el preestablecido recién importado usando `{{presetLoad}} {{presetName}}`.",
"description": "Carga el preestablecido recién importado usando {{presetLoad}} `preset_name:{{presetName}}`.",
"title": "Preestablecido Importado"
},
"interaction": {
Expand Down Expand Up @@ -1302,7 +1302,7 @@
"description": "Elige si incluir automáticamente las subunidades de un grupo al usar {{groups}}.",
"example": {
"exclude": "No incluir subunidades",
"include": "Incluir automáticamente subunidades. Por ejemplo, `{{groupCommand}} {{parentGroup}}` incluiría canciones de {{parentGroup}}, {{subunitOne}}, {{subunitTwo}}, etc.",
"include": "Incluir automáticamente subunidades. Por ejemplo, {{groupCommand}} group_1:{{parentGroup}} incluiría canciones de {{parentGroup}}, {{subunitOne}}, {{subunitTwo}}, etc.",
"reset": "Restablecer a la opción predeterminada de {{defaultSubunit}}"
},
"name": "subunidades"
Expand Down Expand Up @@ -1526,7 +1526,7 @@
"notInEnum": "Se esperaba uno de los siguientes valores válidos para {{argument}}: ({{validValues}})."
},
"numArguments": {
"incorrect": "Número incorrecto de argumentos. Consulta `{{help}} {{command}}` para ver el uso."
"incorrect": "Número incorrecto de argumentos. Consulta {{help}} action:{{command}} para ver el uso."
},
"number": {
"max": "Se esperaba un valor menor o igual a {{max}} para {{argument}}",
Expand Down Expand Up @@ -1635,7 +1635,7 @@
"notHidden": "No puedes hacer eso durante un juego oculto.",
"notListeningSession": "No puedes hacer eso mientras estás en una sesión de escucha.",
"notPremium": "Necesitas KMQ Premium para usar este comando (ver {{premium}}).",
"notSpotify": "No puedes cambiar esa opción cuando estás reproduciendo desde Spotify. Usa `/spotify reset` antes de cambiar esta opción.",
"notSpotify": "No puedes cambiar esa opción cuando estás reproduciendo desde Spotify. Usa {{spotifyResetCommand}} antes de cambiar esta opción.",
"premiumOrDebugServer": "Este comando solo funciona en el servidor oficial de KMQ o para miembros de KMQ Premium (ver {{premium}}).",
"title": "Espera..."
},
Expand Down
Loading

0 comments on commit aeb38b4

Please sign in to comment.