БГ
Size: a a a
БГ
БГ
БГ
AK
VA
l
VK
N§
БГ
A
N§
A
результат
выполнения on_clicked(1)N§
VK
ㅤ
def some_func(message):
try:
global start_message
con = sqlite3.connect("base.db")
cur = con.cursor()
cur.execute("SELECT user_admin FROM admin WHERE id = '%s'" % message.from_user.id)
# Здесь код
con.close()
except Exception as e:
print("[LOG]",e)
start_message = bot.send_message(message.chat.id,start_bot_text,parse_mode="html")
БГ
БГ
def some_func(message):
try:
global start_message
con = sqlite3.connect("base.db")
cur = con.cursor()
cur.execute("SELECT user_admin FROM admin WHERE id = '%s'" % message.from_user.id)
# Здесь код
con.close()
except Exception as e:
print("[LOG]",e)
start_message = bot.send_message(message.chat.id,start_bot_text,parse_mode="html")
l