Added more commands to fun

This commit is contained in:
lucmsilva651 2024-07-26 00:43:30 -03:00
parent 1f5b17cbc5
commit 7245441c5f
No known key found for this signature in database
GPG key ID: D9B075FC6DC93985
3 changed files with 36 additions and 2 deletions

View file

@ -41,7 +41,37 @@ function gayFunction(ctx) {
}
}
async function rollDice(ctx) {
const Strings = getStrings(ctx.from.language_code);
await ctx.reply(
Strings.rollingDice, {
parse_mode: 'Markdown',
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',
reply_to_message_id: ctx.message.message_id
}
);
ctx.telegram.sendDice(ctx.chat.id, { emoji: '🎰' });
}
module.exports = (bot) => {
bot.command('dice', (ctx) => {
rollDice(ctx);
});
bot.command('slot', (ctx) => {
spinSlot(ctx);
});
bot.command('furry', (ctx) => {
furryFunction(ctx);
});