ModisWorks / modis

A highly modular Discord bot designed for anyone to customise and self-host.
https://modisworks.github.io/
Apache License 2.0
16 stars 6 forks source link

Moved initialisation to !core #29

Closed YtnomSnrub closed 6 years ago

YtnomSnrub commented 6 years ago

All modules and servers are now initialised in !core in on_server_available and on_server_join, using the _data.py in each module when possible. All current modules now check the 'activated' flag in the data.json file for the module for the server and do not do anything if 'activated' is false.