CampFirePlay/commands/casino/slotsMenu.js
Degradin baa0b5f3a9 global refactoring
Все переведено в модули
2023-10-08 23:43:12 +03:00

30 lines
936 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const {
Markup
} = require('telegraf')
const {
UserModel
} = require('/workspace/degradin/Dev/Telegram/CampFire Play/config')
module.exports = async (ctx) => {
let user = await UserModel.findByPk(ctx.from.id)
ctx.args = ctx.update.message.text.split(' ')
await ctx.reply('Комбинации слотов:\n7⃣7⃣7⃣ - x25\n🍋🍋🍋 - x20\n🍇🍇🍇 - x15\n🔤🔤🔤 - x10', Markup
.inlineKeyboard([
[{
text: `1000`,
callback_data: `slots1000`
}, {
text: `5000`,
callback_data: `slots5000`
}, {
text: `25000`,
callback_data: `slots25000`
}, {
text: `50000`,
callback_data: `slots50000`
}, {
text: `100000`,
callback_data: `slots100000`
}]
]))
}