backspace / slack-statsbot

A Slack bot to track statistics about who is talking the most
80 stars 12 forks source link

Support disabling attribute reports on a per-channel basis #22

Closed backspace closed 8 years ago

backspace commented 8 years ago

My goal here is to allow admins to message the bot to allow certain attributes to be skipped in terse channel reports. For instance, it’s apparently a cultural given that #men-explicit will be dominated by men, and therefore it would be nice to hide that report.

Progress thus far has the bot properly skipping the attributes, but there is no database support nor an interface for setting the ignored attributes. Imagined interface:

admin: ignore manness in #men-explicit bot: Okay, I will no longer report on manness in #men-explicit. admin: include manness in #men-explicit bot: Okay, I will report on manness in #men-explicit. non-admin: ignore pocness in #chat bot: Sorry, you must be an admin to set channel options.

With this in place, I could add attribute definitions for the cis/trans axis, as suggested in #6. This is of limited use in the LGBTQ in Tech Slack, but could be helpful for other Slacks.

backspace commented 8 years ago

🎉 this seems usable