Added more commands to fun
This commit is contained in:
parent
1f5b17cbc5
commit
7245441c5f
3 changed files with 36 additions and 2 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue