edwardslabs / CloudBot

CloudBot - The simple, fast, expandable, open-source Python IRC Bot!
GNU General Public License v3.0
28 stars 31 forks source link

Allow plugins to be loaded from subdirectories #190

Closed linuxdaemon closed 6 years ago

linuxdaemon commented 6 years ago

This is designed to help clean up the plugins folder by not requiring all plugins to be in the root plugins/ directory. This also fixes a minor issue where herald.py imports grab.py and therefore might be holding a strong reference to grab.py, thus not allowing it to be reloaded at runtime.