highlights
highlights copied to clipboard
Using category channel in `/add` argument results in error
Description of bug
Using a category as the optional channel argument for the /add command causes an error with the message "Channel for keyword to add not cached".
To Reproduce
- Use command
/add <keyword> <link to category>
Expected behavior I would expect either an explicit error message saying that category channels aren't allowed for the argument, or (even better) listen for the keyword in all text channels under the category.
Screenshots

This error message should be fixed as of https://github.com/TheCodingDen/highlights/commit/1a525b732cc9ef47732c5dd75f1cf5198bee3a3b. I'll leave this open as an enhancement to make it support using categories, as it will now simply ask for a text channel.