новая база на алхимии

This commit is contained in:
2022-11-08 20:43:34 +10:00
parent 7cba5b3eb5
commit ecbe804bf3
7 changed files with 42 additions and 32 deletions

10
bot.py
View File

@@ -5,7 +5,7 @@ from random import randint
from aiogram import Bot, Dispatcher, executor, types
from aiogram.types import ReplyKeyboardRemove, ReplyKeyboardMarkup, KeyboardButton
import sql
@@ -49,11 +49,11 @@ async def dick(message: types.Message):
async def ident(message: types.Message):
id1 = message.from_user.id
fullname1 = message.from_user.full_name
await sql.db_start
await bot.send_message(message.chat.id, f'{id1} + {fullname1}')
await sql.add_user
await sql.close
#await sql.db.close()