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

Load plugins from config file #4

Open
iuriguilherme opened this issue Mar 3, 2022 · 0 comments
Open

Load plugins from config file #4

iuriguilherme opened this issue Mar 3, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@iuriguilherme
Copy link
Owner

Plugin loading currently is harcoded in aiogram init;

When it should be done using configuration directives already implemented in the config file, attributed to the bot object, but currently unused. print(current_app.dispatchers[0].bot.plugins['epsilon']) should print a list of first bot's plugins that should be loaded for general use, if properly configured.

@iuriguilherme iuriguilherme added the enhancement New feature or request label Mar 3, 2022
@iuriguilherme iuriguilherme self-assigned this Mar 3, 2022
@iuriguilherme iuriguilherme added this to the v1 milestone Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant