This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| seen[crypto] = True | |
| text += ( | |
| f"🪙 *{crypto}*\n" | |
| f" Курс: `{float(d['current_course']):,.2f}` ₽\n" | |
| f" Комиссия: {d['comission_percent']}%\n" | |
| f" Мин: {d['min_amount']} ₽ | Макс: {d['max_amount']:,} ₽\n\n" | |
| ) | |
| kb = InlineKeyboardMarkup(inline_keyboard=[ | |
| [InlineKeyboardButton(text="💱 Начать обмен", callback_data="start_exchange")], | |
| [InlineKeyboardButton(text="🔙 Назад", callback_data="back_start")], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Greengo Exchange Telegram Bot — с балансом пользователей | |
| Требования: pip install aiogram aiohttp | |
| Запуск: python bot.py | |
| """ | |
| import asyncio | |
| import logging | |
| import sqlite3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Greengo Exchange Telegram Bot — с балансом пользователей | |
| Требования: pip install aiogram aiohttp | |
| Запуск: python bot.py | |
| """ | |
| import asyncio | |
| import logging | |
| import sqlite3 |