eritbh / yuuko

🔰 No-frills Discord command framework for Eris
http://eritbh.me/yuuko
MIT License
17 stars 2 forks source link

Add helpers for creating commands with help info #74

Closed eritbh closed 3 years ago

eritbh commented 3 years ago

Fixes #72. Adds a CommandWithHelp class exported from the default help command that you can use in Typescript (or Javascript for that matter) to attach help info to commands more ergonomically. This is all contained in the default help command file since I don't really want to prescribe this as the only way to do a help command, so I'm not including it in the main library. Maybe eventually I should split some of those helpers off into their own thing...