yetibot / core

:expressionless: Core yetibot utilities, extracted for shared use among Yetibot and its various plugins
https://yetibot.com
Eclipse Public License 1.0
27 stars 17 forks source link

filter non-active categories from user visibility #147

Closed gkspranger closed 4 years ago

gkspranger commented 4 years ago

as a YB user, i only want to see categories of commands that are enabled, so that i don't get confused about my access and/or have backdoor visibility to disabled commands

as an example, my command whitelist is very locked down to just a couple of commands (echo, hello) .. however, when i run !category names -- i see many categories listed (async, crude, gif, info, infra, meme, etc -- see IMG1) .. even further, when i run !category list <name> -- i see a list of commands that i have not whitelisted (see IMG2) ..

ideally -- the only categories listed would be those that are defined in enabled commands .. this would streamline the UX and avoid unnecessary confusion/conversations ..

thanks for the consideration !!

IMG1 image

IMG2 image

devth commented 4 years ago

Makes total sense! This should be an easy fix.