This commit is contained in:
2022-11-09 22:52:44 +10:00
parent b148e10393
commit 5c8cd68b6f
5 changed files with 17 additions and 10 deletions

8
bot.py
View File

@@ -2,6 +2,7 @@ from cgitb import text
import datetime
import logging
from random import randint
from sqdb import tert
from aiogram import Bot, Dispatcher, executor, types
from aiogram.types import ReplyKeyboardRemove, ReplyKeyboardMarkup, KeyboardButton
@@ -47,10 +48,9 @@ async def dick(message: types.Message):
@dp.message_handler(commands=["id"])
async def ident(message: types.Message):
id1 = message.from_user.id
fullname1 = message.from_user.full_name
await bot.send_message(message.chat.id, f'{id1} + {fullname1}')
lisq = user(user_id = message.from_user.id, user_fullname = message.from_user.full_name)
tert.adding()
await bot.send_message(message.chat.id, f'{message.from_user.id} + {message.from_user.full_name}')