From ecbe804bf36b9789f39188bb13914a60e894848f Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Tue, 8 Nov 2022 20:43:34 +1000 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=B0=D1=8F=20=D0=B1=D0=B0?= =?UTF-8?q?=D0=B7=D0=B0=20=D0=BD=D0=B0=20=D0=B0=D0=BB=D1=85=D0=B8=D0=BC?= =?UTF-8?q?=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __pycache__/bot.cpython-310.pyc | Bin 0 -> 2748 bytes __pycache__/sql.cpython-310.pyc | Bin 771 -> 0 bytes bot.py | 10 ++++----- dick3.db | Bin 0 -> 8192 bytes dick31.db | 0 sqdb.py | 37 ++++++++++++++++++++++++++++++++ sql.py | 27 ----------------------- 7 files changed, 42 insertions(+), 32 deletions(-) create mode 100644 __pycache__/bot.cpython-310.pyc delete mode 100644 __pycache__/sql.cpython-310.pyc create mode 100644 dick3.db create mode 100644 dick31.db create mode 100644 sqdb.py delete mode 100644 sql.py diff --git a/__pycache__/bot.cpython-310.pyc b/__pycache__/bot.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3577a0d31878868886007debdfcd26b4e3f3a083 GIT binary patch literal 2748 zcmZuzTW=f372cWMC6^RQ$-3C`B{or1NjIrUNtSF$2!h&;Vh52G$5xPJVPLW3jHo5| zmf2k^6i7gdTJ$A?fwpf!0I5J9@)ooWkRY-8kUy||-PZsG1oRIiFYcM4fN zb2;am@0?k`SjpJjStILehUVssoSQfDVqA5G+=5YXi$>8c86_CY7{gRvU{*I&C+3_ z?IB~7YIJlL8Dn&;IZkp7MDlxx4AFdZVjYtLDgHqL?OCBM4QPi+Nodar?Z|-k3>g*L z$($tgV*~neG9mQmh4$=#_8gfM+6!C@)?92}BIlp8>;kzc^e@rNztddv3LPUa zk;{7+JjM@1(XSkFq;-@k5&a}u1tH5UkJw(ME2(_TkJ9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e#n+0@nWn D0FA`C literal 0 HcmV?d00001 diff --git a/__pycache__/sql.cpython-310.pyc b/__pycache__/sql.cpython-310.pyc deleted file mode 100644 index 7f12f731d3a7e0d36df8ace01bcc96d1c64d4cb8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 771 zcmZ`%O>5gQ7?$KOHA@b=j2?9uEFPtovCA0ivY{2z&K)xBN^!MgczUjD)e{j|aMA`rZWtsa9B zNZ=_NVnKv+jfO>%@w+SC)oMnSI$DBp)SbUN(ej24&%2@MR ze_Za0A0%h&h@b7X)qGQJGx@xjRV?GDSr`U}s7n)+^?Y8H+7K}w`sG5Z zS{esV6I7q8a-l2Zm-TEm(ch4yFid0q?1~qoaji!eSNgo3=hju1)BTGpL&Z2(x{%tn z<6FJSmySbmhjg*D;s3STh3ZDDMj6oRRv8j6pGR@Zlgti$(hkV_jS4X5)_fuRG&ugq zQ`SG&V+UdAN)H-K-x^Cw2G-oo(t10PGqeyQw;g*BDfp9Sp|b%sUOBCy{XN*S3r!xvzJ;Y0*5*QQ7=W}BT|JW)vC*(0)Rgb*W$4RU UEf&-26+CjJEE+}Bp*vmoF9~a%00000 diff --git a/bot.py b/bot.py index 94c365e..c74443b 100644 --- a/bot.py +++ b/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() + + + diff --git a/dick3.db b/dick3.db new file mode 100644 index 0000000000000000000000000000000000000000..5fe1830a92d3de9b946ac21fc8c93d9516c9bed6 GIT binary patch literal 8192 zcmeH~KTpCy7{;%qiWInmsWA-P-~fp+8i&S7D`^z1sI_XCOch8-Kob5;x}cMZpP=8s zxUiY1(ap`I@Bv)>0Db}!??C=YkipgWy_tt?VFe|byoPD-nk9;fuG54 zUb@e2gP(}H_wG~k!fiyoEVbNCjR-_0SwQ_6=Gi=XPhZ=bAD;` JYlSg8zW`R{