Open gdude2002 opened 8 years ago
Some more notes from IRC discussion today:
extra
field; optional data that a protocol can provide along with its message stringStorage manager:
filename.default
for a default configuration if filename
doesn't exist (Kasen edit: allows plugins to provide sane defaults for plugins where you don't necessarily have to provide a config - stops you needing to copy-paste filename.example
every time the plugin updates - should not be used to automatically create filename
)get_config_file(...)
and get_data_file(...)
with an optional format paramget_database(...)
peewee
via peewee-async
We need to come up with an overall plan for doing this, and maybe chart it out online. For now, here's what I have in mind:
python -m Ultros
. This makes it installable and would make it feasible to create a setup.py for those that want it.instance
s of Ultros in the same process. Obviously, if you're doing this, you won't be running Ultros in the normal way.Obviously this is still early days. We need to plan this out properly. I've committed a basic structure for the time being.
Paging doctor @rakiru.