Traceback (most recent call last):
File "main.py", line 3, in
Bot().run()
File "/usr/local/lib/python3.8/site-packages/pyrogram/methods/utilities/run.py", line 80, in run
run(self.start())
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/app/bot.py", line 40, in start
await super().start()
File "/usr/local/lib/python3.8/site-packages/pyrogram/methods/utilities/start.py", line 74, in start
await self.initialize()
File "/usr/local/lib/python3.8/site-packages/pyrogram/methods/auth/initialize.py", line 46, in initialize
self.load_plugins()
File "/usr/local/lib/python3.8/site-packages/pyrogram/client.py", line 664, in load_plugins
module = import_module(module_path)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 843, in exec_module
File "", line 219, in _call_with_frames_removed
File "/app/plugins/start.py", line 16, in
from database.database import add_user, del_user, full_userbase, present_user
File "/app/database/database.py", line 10, in
dbclient = pymongo.MongoClient(DB_URI)
File "/usr/local/lib/python3.8/site-packages/pymongo/mongo_client.py", line 736, in init
res = uri_parser.parse_uri(
File "/usr/local/lib/python3.8/site-packages/pymongo/uri_parser.py", line 478, in parse_uri
raise InvalidURI(
pymongo.errors.InvalidURI: Invalid URI scheme: URI must begin with 'mongodb://' or 'mongodb+srv://'
Traceback (most recent call last):
File "main.py", line 3, in
Bot().run()
Traceback (most recent call last): File "main.py", line 3, in
Bot().run()
File "/usr/local/lib/python3.8/site-packages/pyrogram/methods/utilities/run.py", line 80, in run
run(self.start())
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/app/bot.py", line 40, in start
await super().start()
File "/usr/local/lib/python3.8/site-packages/pyrogram/methods/utilities/start.py", line 74, in start
await self.initialize()
File "/usr/local/lib/python3.8/site-packages/pyrogram/methods/auth/initialize.py", line 46, in initialize
self.load_plugins()
File "/usr/local/lib/python3.8/site-packages/pyrogram/client.py", line 664, in load_plugins
module = import_module(module_path)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 843, in exec_module
File "", line 219, in _call_with_frames_removed
File "/app/plugins/start.py", line 16, in
from database.database import add_user, del_user, full_userbase, present_user
File "/app/database/database.py", line 10, in
dbclient = pymongo.MongoClient(DB_URI)
File "/usr/local/lib/python3.8/site-packages/pymongo/mongo_client.py", line 736, in init
res = uri_parser.parse_uri(
File "/usr/local/lib/python3.8/site-packages/pymongo/uri_parser.py", line 478, in parse_uri
raise InvalidURI(
pymongo.errors.InvalidURI: Invalid URI scheme: URI must begin with 'mongodb://' or 'mongodb+srv://'
Traceback (most recent call last):
File "main.py", line 3, in
Bot().run()