Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmd.hear(/^(?:Курсор)\s?(.*)?$/i, async (message, bot) => {
- message.user.up.cursor = 1;
- message.user.up.cursor_count += 1;
- message.user.balance -= 100;
- message.user.click += 0.5;
- return bot(`✔ Вы купили улучшение 'Курсор'.
- 💻 За один клик вы получаете: ${message.user.click}` , {
- attachment: "photo161880759_456240904"
- },
- {
- keyboard:JSON.stringify(
- {
- "one_time": false,
- "buttons": [
- [{
- "action": {
- "type": "text",
- "payload": "{\"button\": \"1\"}",
- "label": "💻 Улучшения к кликам"
- },
- "color": "positive"
- },
- {
- "action": {
- "type": "text",
- "payload": "{\"button\": \"2\"}",
- "label": "Магазин"
- },
- "color": "primary"
- },
- {
- "action": {
- "type": "text",
- "payload": "{\"button\": \"3\"}",
- "label": "Назад"
- },
- "color": "primary"
- }
- ]
- ]
- })
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement