Commit graph

4 commits

Author SHA1 Message Date
22c9590816 Update help_command logic
The `help_command` method for each addon/the bot were not returning the
help message, but were instead sending the help messages themselves.
Update the logic to simply return the help message string.
2021-02-16 23:13:46 -05:00
69a22c8a22 Add help and listcommand logic
Both `!help` and `!listcommand` are handled by the bot itself, so take
advantage of how the addons method calls work to implement both
`matrix_command` and `help_command` on `self`.

Add `help_command` to each currently enabled and functional addon
2021-02-14 22:39:31 -05:00
b8ffa3db28 Custom Commands: Make custom commands dynamically
With the updated means of handling addons, update Custom Commands to
include the new logic and be functional.

addons/custom_commands.rb: Update for new addons logic
2021-02-14 21:12:13 -05:00
bc6fb9534f addons/custom_commands: Custom, text-based commands 2021-02-06 22:28:30 -05:00