From 677586e864903b465e9c29c9d414bf9c56230201 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Date: Thu, 26 Sep 2024 17:31:38 -0300 Subject: [PATCH] Soggy cat alt photo --- commands/fun.js | 9 +++++++++ locales/english.json | 2 +- locales/portuguese.json | 2 +- props/resources.json | 1 + 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/commands/fun.js b/commands/fun.js index 5c0920b..8387732 100644 --- a/commands/fun.js +++ b/commands/fun.js @@ -117,6 +117,15 @@ module.exports = (bot) => { }); break; + case (userInput === "4" || userInput === "alt"): + ctx.replyWithPhoto( + resources.soggyCatAlt, { + caption: resources.soggyCatAlt, + parse_mode: 'Markdown', + reply_to_message_id: ctx.message.message_id + }); + break; + default: ctx.replyWithPhoto( resources.soggyCat, { diff --git a/locales/english.json b/locales/english.json index 54f3e08..fd96558 100644 --- a/locales/english.json +++ b/locales/english.json @@ -52,7 +52,7 @@ "usefulCommands": "Useful commands", "usefulCommandsDesc": "*Useful commands*\n\n- /chatinfo: Send information about the group\n- /userinfo: Send information about yourself\n- /d | /device ``: Search for a device on GSMArena and show its specs.\n- /weather | /clima ``: See weather status for a specific location.\n- /modarchive | /tma ``: Download a module from The Mod Archive", "funnyCommands": "Funny commands", - "funnyCommandsDesc": "*Funny commands*\n\n- /gay: Check if you are gay\n- /furry: Check if you are a furry\n- /random: Pick a random number between 0-10\n- /soggy `<1 | 2 | 3 | orig | thumb | sticker>`: Sends the [Soggy cat meme](https://knowyourmeme.com/memes/soggy-cat)", + "funnyCommandsDesc": "*Funny commands*\n\n- /gay: Check if you are gay\n- /furry: Check if you are a furry\n- /random: Pick a random number between 0-10\n- /soggy `<1 | 2 | 3 | 4 | orig | thumb | sticker | alt>`: Sends the [Soggy cat meme](https://knowyourmeme.com/memes/soggy-cat)", "interactiveEmojis": "Interactive emojis", "interactiveEmojisDesc": "*Interactive emojis*\n\n- /dice: Roll a dice\n- /idice: Infinitely roll a colored dice\n- /slot: Try to combine the figures!\n- /ball: Try to kick the ball into the goal!\n- /bowling: Try to hit the pins!\n- /dart: Try to hit the target!", "goBack": "Back", diff --git a/locales/portuguese.json b/locales/portuguese.json index 83c7c38..10d8395 100644 --- a/locales/portuguese.json +++ b/locales/portuguese.json @@ -52,7 +52,7 @@ "usefulCommands": "Comandos úteis", "usefulCommandsDesc": "*Comandos úteis*\n\n- /chatinfo: Envia informações sobre o grupo\n- /userinfo: Envia informações sobre você\n- /d | /device ``: Pesquisa um dispositivo no GSMArena e mostra suas especificações.\n- /weather | /clima ``: Veja o status do clima para uma localização específica\n- /modarchive | /tma ``: Baixa um módulo do The Mod Archive", "funnyCommands": "Comandos engraçados", - "funnyCommandsDesc": "*Comandos engraçados*\n\n- /gay: Verifique se você é gay\n- /furry: Verifique se você é furry\n- /random: Escolhe um número aleatório entre 0-10\n- /soggy `<1 | 2 | 3 | orig | thumb | sticker>`: Envia o meme [Soggy cat](https://knowyourmeme.com/memes/soggy-cat)", + "funnyCommandsDesc": "*Comandos engraçados*\n\n- /gay: Verifique se você é gay\n- /furry: Verifique se você é furry\n- /random: Escolhe um número aleatório entre 0-10\n- /soggy `<1 | 2 | 3 | 4 | orig | thumb | sticker | alt>`: Envia o meme [Soggy cat](https://knowyourmeme.com/memes/soggy-cat)", "interactiveEmojis": "Emojis interativos", "interactiveEmojisDesc": "*Emojis interativos*\n\n- /dice: Jogue um dado\n- /idice: Role infinitamente um dado colorido\n- /slot: Tente combinar as figuras!\n- /ball: Tente chutar a bola no gol!\n- /bowling: Tente derrubar os pinos!\n- /dart: Tente acertar o alvo!", "goBack": "Voltar", diff --git a/props/resources.json b/props/resources.json index 74700ee..e319355 100644 --- a/props/resources.json +++ b/props/resources.json @@ -1,6 +1,7 @@ { "lunaCat": "https://telegra.ph/file/0472e60d38376960de1a8.jpg", "soggyCat": "https://soggy.cat/img/soggycat.webp", + "soggyCatAlt": "https://i.kym-cdn.com/photos/images/original/002/705/636/38d.jpg", "soggyCat2": "https://i.kym-cdn.com/photos/images/original/002/705/653/079.jpg", "soggyCatSticker": "CAACAgEAAxkBAAJ9SWb0vY0Xgg4RtNQeU5iLOx3iTVRAAAKgAwACN-NRRFf8v9p0Nz1INgQ", "infiniteDice": "CAACAgQAAxkBAAJxjWbSSP-8ZNEhEpAJjQsHsGf-UuEPAAJCAAPI-uwTAAEBVWWh4ucINQQ",