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

19 lines
567 B
JavaScript

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);
return await ctx.reply(`Выберите тип`, Markup
.inlineKeyboard([
[
{text: 'Жилье', callback_data: `shop_house`},
{text: 'Телефоны', callback_data: `shop_phone`},
{text: 'Автосалон', callback_data: `shop_car`}
]
])
.resize())
}