Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #4

Open
mhdashikofficial opened this issue Sep 30, 2024 · 0 comments
Open

Error #4

mhdashikofficial opened this issue Sep 30, 2024 · 0 comments

Comments

@mhdashikofficial
Copy link

01:30:46 AM - 23 - telethon.crypto.aes - aes - INFO - libssl detected, it will be used for encryption 01:30:47 AM - 89 - plugins.group_manage.database - init - INFO - Initialized Database!
01:30:47 AM - 89 - plugins.group_manage.database.init - init - INFO - Initialized Database!

Traceback (most recent call last):
File "/root/AutoFilter/bot.py", line 47, in
LazyPrincessBot.start()
File "/root/AutoFilter/venv/lib/python3.11/site-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/root/AutoFilter/venv/lib/python3.11/site-packages/pyrogram/methods/utilities/start.py", line 74, in start
await self.initialize()
File "/root/AutoFilter/venv/lib/python3.11/site-packages/pyrogram/methods/auth/initialize.py", line 46, in initialize
self.load_plugins()
File "/root/AutoFilter/venv/lib/python3.11/site-packages/pyrogram/client.py", line 689, in load_plugins
module = import_module(module_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/root/AutoFilter/plugins/modules/StickerId.py", line 15, in
bot_token = os.environ["BOT_TOKEN"],
~~~~~~~~~~^^^^^^^^^^^^^
File "", line 679, in getitem
KeyError: 'BOT_TOKEN'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant