Removed strings from some fun commands

This commit is contained in:
Lucas Gabriel 2024-07-26 00:45:54 -03:00
parent 7245441c5f
commit 5da48e0891
No known key found for this signature in database
GPG Key ID: D9B075FC6DC93985
3 changed files with 7 additions and 16 deletions

View File

@ -42,25 +42,20 @@ function gayFunction(ctx) {
}
async function rollDice(ctx) {
const Strings = getStrings(ctx.from.language_code);
await ctx.reply(
Strings.rollingDice, {
parse_mode: 'Markdown',
ctx.telegram.sendDice(
ctx.chat.id, {
reply_to_message_id: ctx.message.message_id
}
);
ctx.telegram.sendDice(ctx.chat.id);
}
async function spinSlot(ctx) {
const Strings = getStrings(ctx.from.language_code);
await ctx.reply(
Strings.spinningSlot, {
parse_mode: 'Markdown',
ctx.telegram.sendDice(
ctx.chat.id, {
emoji: '🎰',
reply_to_message_id: ctx.message.message_id
}
);
ctx.telegram.sendDice(ctx.chat.id, { emoji: '🎰' });
}
module.exports = (bot) => {

View File

@ -15,7 +15,5 @@
"isNtFurry": "Aahhh. You are not a furry!",
"randomNum": "*Generated number (0-10):* `{number}`",
"userInfo": "*User info*\n\n*Your name is:* `{userName}`\n*Your username is:* `{userHandle}`\n*Your ID is:* `{userId}`\n*You are a bot:* `{isBot}`\n*Your language:* `{userLang}`\n*You are a Premium user:* `{userPremium}`",
"chatInfo": "*Group info*\n\n*Chat name:* `{chatName}`\n*Chat ID:* `{chatId}`\n*Chat handle:* `{chatHandle}`\n*Chat type:* `{chatType}`\n*Chat members count:* `{chatMembersCount}`\n*Is a forum:* `{isForum}`",
"rollingDice": "Rolling a dice...",
"spinningSlot": "Here goes the slot spin..."
"chatInfo": "*Group info*\n\n*Chat name:* `{chatName}`\n*Chat ID:* `{chatId}`\n*Chat handle:* `{chatHandle}`\n*Chat type:* `{chatType}`\n*Chat members count:* `{chatMembersCount}`\n*Is a forum:* `{isForum}`"
}

View File

@ -15,7 +15,5 @@
"isNtFurry": "Aahhh. Você não é um furry!",
"randomNum": "*Número gerado (0-10):* `{number}`",
"userInfo": "*Informações do usuário*\n\n*Seu nome é:* `{userName}`\n*Seu usuário é:* `{userHandle}`\n*Seu ID é:* `{userId}`\n*Você é um bot:* `{isBot}`\n*Seu idioma:* `{userLang}`\n*Você é um usuário premium:* `{userPremium}`",
"chatInfo": "*Informações do chat*\n\n*Nome do chat:* `{chatName}`\n*ID do chat:* `{chatId}`\n*Identificador:* `{chatHandle}`\n*Tipo de chat:* `{chatType}`\n*Número de membros:* `{chatMembersCount}`\n*É um fórum:* `{isForum}`",
"rollingDice": "Rolando um dado...",
"spinningSlot": "Vamos girar os rolos..."
"chatInfo": "*Informações do chat*\n\n*Nome do chat:* `{chatName}`\n*ID do chat:* `{chatId}`\n*Identificador:* `{chatHandle}`\n*Tipo de chat:* `{chatType}`\n*Número de membros:* `{chatMembersCount}`\n*É um fórum:* `{isForum}`"
}