Removed API request link from response on cat.js and fixed misplaced string

This commit is contained in:
Lucas Gabriel 2024-10-13 23:14:45 -03:00
parent f9d6117752
commit aed36a1e9b
No known key found for this signature in database
GPG Key ID: D9B075FC6DC93985
4 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ module.exports = (bot) => {
try { try {
await ctx.replyWithAnimation(apiUrl, { await ctx.replyWithAnimation(apiUrl, {
caption: `🐱 ${apiUrl}`, caption: `🐱`,
parse_mode: 'Markdown', parse_mode: 'Markdown',
reply_to_message_id: ctx.message.message_id reply_to_message_id: ctx.message.message_id
}); });
@ -30,7 +30,7 @@ module.exports = (bot) => {
try { try {
await ctx.replyWithPhoto(apiUrl, { await ctx.replyWithPhoto(apiUrl, {
caption: `🐱 ${apiUrl}`, caption: `🐱`,
parse_mode: 'Markdown', parse_mode: 'Markdown',
reply_to_message_id: ctx.message.message_id reply_to_message_id: ctx.message.message_id
}); });

View File

@ -71,8 +71,8 @@
"fileError": "Error uploading file", "fileError": "Error uploading file",
"botUpdated": "Bot updated with success.\n\n```{result}```", "botUpdated": "Bot updated with success.\n\n```{result}```",
"errorUpdatingBot": "Error updating bot\n\n{error}", "errorUpdatingBot": "Error updating bot\n\n{error}",
"catImgErr": "Sorry, but I couldn't get the cat GIF you wanted.", "catImgErr": "Sorry, but I couldn't get the cat photo you wanted.",
"catGifErr": "Sorry, but I couldn't get the cat photo you wanted.", "catGifErr": "Sorry, but I couldn't get the cat GIF you wanted.",
"quoteResult": "Here is a random quote for you:", "quoteResult": "Here is a random quote for you:",
"quoteErr": "Sorry, but something went wrong while displaying the quote." "quoteErr": "Sorry, but something went wrong while displaying the quote."
} }

View File

@ -71,8 +71,8 @@
"fileError": "Erro ao enviar o arquivo", "fileError": "Erro ao enviar o arquivo",
"botUpdated": "Bot atualizado com sucesso.\n\n```{result}```", "botUpdated": "Bot atualizado com sucesso.\n\n```{result}```",
"errorUpdatingBot": "Erro ao atualizar o bot\n\n{error}", "errorUpdatingBot": "Erro ao atualizar o bot\n\n{error}",
"catImgErr": "Desculpe, mas não consegui obter o GIF do gato que você queria.", "catImgErr": "Desculpe, mas não consegui obter a foto do gato que você queria.",
"catGifErr": "Desculpe, mas não consegui obter a foto do gato que você queria.", "catGifErr": "Desculpe, mas não consegui obter o GIF do gato que você queria.",
"quoteResult": "Aqui está uma citação aleatória pra você (em inglês):", "quoteResult": "Aqui está uma citação aleatória pra você (em inglês):",
"quoteErr": "Desculpe, mas algo deu errado ao exibir a citação." "quoteErr": "Desculpe, mas algo deu errado ao exibir a citação."
} }

View File

@ -71,8 +71,8 @@
"fileError": "Error al enviar el archivo", "fileError": "Error al enviar el archivo",
"botUpdated": "Bot actualizado con éxito.\n\n```{result}```", "botUpdated": "Bot actualizado con éxito.\n\n```{result}```",
"errorUpdatingBot": "Error al actualizar el bot\n\n{error}", "errorUpdatingBot": "Error al actualizar el bot\n\n{error}",
"catImgErr": "Lo siento, pero no pude obtener el GIF del gato que querías.", "catImgErr": "Lo siento, pero no pude obtener la foto del gato que querías.",
"catGifErr": "Lo siento, pero no pude obtener la foto del gato que querías.", "catGifErr": "Lo siento, pero no pude obtener el GIF del gato que querías.",
"quoteResult": "Aquí tienes una cita aleatoria para ti (en inglés):", "quoteResult": "Aquí tienes una cita aleatoria para ti (en inglés):",
"quoteErr": "Lo siento, pero algo salió mal al mostrar la cita." "quoteErr": "Lo siento, pero algo salió mal al mostrar la cita."
} }