mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 04:39:57 +00:00
Removed API request link from response on cat.js and fixed misplaced string
This commit is contained in:
parent
f9d6117752
commit
aed36a1e9b
@ -14,7 +14,7 @@ module.exports = (bot) => {
|
||||
|
||||
try {
|
||||
await ctx.replyWithAnimation(apiUrl, {
|
||||
caption: `🐱 ${apiUrl}`,
|
||||
caption: `🐱`,
|
||||
parse_mode: 'Markdown',
|
||||
reply_to_message_id: ctx.message.message_id
|
||||
});
|
||||
@ -30,7 +30,7 @@ module.exports = (bot) => {
|
||||
|
||||
try {
|
||||
await ctx.replyWithPhoto(apiUrl, {
|
||||
caption: `🐱 ${apiUrl}`,
|
||||
caption: `🐱`,
|
||||
parse_mode: 'Markdown',
|
||||
reply_to_message_id: ctx.message.message_id
|
||||
});
|
||||
|
@ -71,8 +71,8 @@
|
||||
"fileError": "Error uploading file",
|
||||
"botUpdated": "Bot updated with success.\n\n```{result}```",
|
||||
"errorUpdatingBot": "Error updating bot\n\n{error}",
|
||||
"catImgErr": "Sorry, but I couldn't get the cat GIF you wanted.",
|
||||
"catGifErr": "Sorry, but I couldn't get the cat photo you wanted.",
|
||||
"catImgErr": "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:",
|
||||
"quoteErr": "Sorry, but something went wrong while displaying the quote."
|
||||
}
|
@ -71,8 +71,8 @@
|
||||
"fileError": "Erro ao enviar o arquivo",
|
||||
"botUpdated": "Bot atualizado com sucesso.\n\n```{result}```",
|
||||
"errorUpdatingBot": "Erro ao atualizar o bot\n\n{error}",
|
||||
"catImgErr": "Desculpe, mas não consegui obter o GIF do gato que você queria.",
|
||||
"catGifErr": "Desculpe, mas não consegui obter a foto 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 o GIF do gato que você queria.",
|
||||
"quoteResult": "Aqui está uma citação aleatória pra você (em inglês):",
|
||||
"quoteErr": "Desculpe, mas algo deu errado ao exibir a citação."
|
||||
}
|
@ -71,8 +71,8 @@
|
||||
"fileError": "Error al enviar el archivo",
|
||||
"botUpdated": "Bot actualizado con éxito.\n\n```{result}```",
|
||||
"errorUpdatingBot": "Error al actualizar el bot\n\n{error}",
|
||||
"catImgErr": "Lo siento, pero no pude obtener el GIF del gato que querías.",
|
||||
"catGifErr": "Lo siento, pero no pude obtener la foto 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 el GIF del gato que querías.",
|
||||
"quoteResult": "Aquí tienes una cita aleatoria para ti (en inglés):",
|
||||
"quoteErr": "Lo siento, pero algo salió mal al mostrar la cita."
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user