PS C:\Users\Lenovo> & C:/Users/Lenovo/AppData/Local/Programs/Python/Python39-32/python.exe c:/Users/Lenovo/Desktop/byte/Worker/bot.py
Воркер бот успешно запущен [+]
INFO:aiogram:Bot: Test Bot [@TestBot_bot]
INFO:aiogram.dispatcher.dispatcher:Start polling.
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-7' coro=<Dispatcher._process_polling_updates() done, defined at C:\Users\Lenovo\AppData\Local\Programs\Python\Python39-32\lib\site-packages\aiogram\dispatcher\dispatcher.py:407> exception=OperationalError('no such table: workers')>
Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python39-32\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 415, in _process_polling_updates
for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python39-32\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 235, in process_updates
return await asyncio.gather(*tasks)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python39-32\lib\site-packages\aiogram\dispatcher\handler.py", line 117, in notify
response = await handler_obj.handler(*args, **partial_data)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python39-32\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 256, in process_update
return await self.message_handlers.notify(update.message)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python39-32\lib\site-packages\aiogram\dispatcher\handler.py", line 117, in notify
response = await handler_obj.handler(*args, **partial_data)
File "c:\Users\Lenovo\Desktop\byte\Worker\bot.py", line 110, in cmd_start
await functions.update_data(message)
File "c:\Users\Lenovo\Desktop\byte\Worker\functions.py", line 111, in update_data
c.execute('UPDATE workers SET username = ? WHERE id = ?',(username_to_store, message.from_user.id))
sqlite3.OperationalError: no such table: workers