removed defines/. Instead, all the text and json files are moved into their respective cogs, and can be loaded by them
defines/text.json has been split into locale files per each cog.
there is a centralised Locale loader class, so it'll be pretty easy to introduce localisation support if we choose to do so. So far I have refrained from doing so cause the effort to target audience ratio is too large.
cogs are now responsible for registering preferences, instead of them being listed in the core bot.
syntactic sugar to create slash commands and options with less boilerplate via locale
handling preferences is not sugary enough. I ran out of ideas to improve it though
Archtectural changes:
defines/
. Instead, all the text and json files are moved into their respective cogs, and can be loaded by themdefines/text.json
has been split into locale files per each cog.Locale
loader class, so it'll be pretty easy to introduce localisation support if we choose to do so. So far I have refrained from doing so cause the effort to target audience ratio is too large.locale