Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khazhyk/dango.py
discord.py@rewrite version for spoo.py
https://github.com/khazhyk/dango.py
discord discord-py python3
Last synced: 13 days ago
JSON representation
discord.py@rewrite version for spoo.py
- Host: GitHub
- URL: https://github.com/khazhyk/dango.py
- Owner: khazhyk
- License: mit
- Created: 2017-07-04T05:44:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-15T01:27:28.000Z (6 months ago)
- Last Synced: 2024-08-15T02:38:32.676Z (6 months ago)
- Topics: discord, discord-py, python3
- Language: Python
- Size: 483 KB
- Stars: 27
- Watchers: 6
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dango
Discord.py commands ext extensions + plugin collection.
## Testing
pytest## Plugin system
- Cogs marked with @dcog are loaded on extension load.
- These cogs are added to the bot via add_plugin(cls)
- If a plugin has no dependencies, we can load it immediately.
- If all a plugin's dependencies are loaded, we can load it immediately
- If at least one of a plugin's dependencies are unloaded, defer it. On
plugin load, we can check if our dependencies are now loaded, and if so
load ourselves.
- For debugging, we can call done_loading once we thing everything should
be loaded, and warn if we see pending plugins. (This could be due to
missing plugin, circular dependencies, etc.)