highlights icon indicating copy to clipboard operation
highlights copied to clipboard

Using category channel in `/add` argument results in error

Open ariscript opened this issue 3 years ago • 1 comments

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

  1. 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 image

ariscript avatar Sep 06 '22 01:09 ariscript

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.

ThatsNoMoon avatar Sep 06 '22 22:09 ThatsNoMoon