Releases: eritbh/yuuko
Releases · eritbh/yuuko
0.3.0: Break some things, fix some things
- API: You can now hot reload any commands loaded via
addCommandDir
orddCommandFile
via a newYuuko#reloadCommands
method! There's also a new command,~reload
, that you can use to do this from Discord if you're the bot owner. - API BREAKING CHANGE: Relative paths are no longer supported by
Yuuko#addCommandFile
orYuuko#addCommandDir
.- Fix: When using these methods, use
require('path').join(__dirname, 'yourThing')
to make the path absolute.
- Fix: When using these methods, use
- API BREAKING CHANGE: Along with the above, support for the
commandDir
config option was also dropped.- Fix: After creating the bot instance, call
addCommandDir
manually using the tactic above.
- Fix: After creating the bot instance, call
- We're using CodeClimate now! Our README has a bunch of pretty badges. Oooo.
- The README also has information about the live bot now and isn't just about the API side of things.
- Docs: Tables are more friendly on mobile and small screens. (You can scroll them horizontally if they extend off the page now.)
- Docs: The live bot's commands now have a webpage with actual content.
0.2.1: Cosmetic changes
Just some meta stuff I forgot to include.
- Add content to README.md
- Add LICENSE
0.2.0: We're a module now?
- Fix typo in sample config
- Add
Yuuko#addCommandFile
- Remove an unused property of commands,
_source
- Command processes now have their
this
value set to the client calling the command, leaving one less argument in the function - Lots of docs updates
- Lots of npm metadata stuff
- Right did I mention npm exists
- A couple minor things like not using inappropriate plurals
Note: This release might be entirely broken and I'm okay with that
0.1.0: Initial Commit
Initial version.