forked from Pavel_Durov/python_bot
новая база на алхимии
This commit is contained in:
10
bot.py
10
bot.py
@@ -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()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user