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

Fix "Ignoring non-existent module error" when using a subfolder as a plugin dir. #94

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

RabbitFored
Copy link
Contributor

@wulan17 wulan17 merged commit 3aad66f into Mayuri-Chan:main Sep 7, 2024
10 checks passed
wulan17 pushed a commit that referenced this pull request Sep 7, 2024
… a paths string as plugin root dir. (#94)

example code:
app = Client(...., plugins=dict(root="bot/plugins", exlude=['toremove']))

warning:
pyrogram.client - [UNLOAD] Ignoring non-existent module "bot/plugins.toremove"
eyMarv pushed a commit to eyMarv/pyroblack that referenced this pull request Sep 7, 2024
… a paths string as plugin root dir. (Mayuri-Chan#94)

example code:
app = Client(...., plugins=dict(root="bot/plugins", exlude=['toremove']))

warning:
pyrogram.client - [UNLOAD] Ignoring non-existent module "bot/plugins.toremove"

(cherry picked from commit d062b67)
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

Successfully merging this pull request may close these issues.

2 participants