diff --git a/bot.py b/bot.py index 145ba46..67dc6ed 100644 --- a/bot.py +++ b/bot.py @@ -8,7 +8,6 @@ from aiogram.types import ReplyKeyboardRemove, ReplyKeyboardMarkup, KeyboardButt import sql - API_TOKEN = '5724991559:AAEuLvpLsgP6LHRGMSyFtQLlR5qPQUO4b_w' logging.basicConfig(level=logging.DEBUG) @@ -46,10 +45,10 @@ async def dick(message: types.Message): await bot.send_message(message.chat.id, (numb)) @dp.message_handler(commands=["id"]) -async def id(message: types.Message): - await sql.db_start() - await bot.send_message(message.chat.id, f'ваш id {message.from_user.id}') - await sql.db.close() +async def ident(message: types.Message): + #await sql.add_user() + await bot.send_message(message.chat.id, f'{message.from_user.id}') + #await sql.db.close()