rit-sse / hubot

Our slack hubot
0 stars 0 forks source link

Conditional Blacklists #4

Open kristenmills opened 9 years ago

kristenmills commented 9 years ago

@weswigham pointed out that we might want to allow for pug bomb 3 but not pug bomb 20.

weswigham commented 9 years ago

Also spam protection (time-boxed blacklist!) - limiting how many commands a user can say in a given time period.

kristenmills commented 9 years ago

@weswigham I was just about to make a separate issue for rate limiting lol

kristenmills commented 9 years ago

I don't have a solid way of doing this so I'm definitely open to suggestions. The best I've got is commands like run hubot limit pug.bomb to 3 pugs which will store that in hubot brain and pug bomb looks up the data for a specific room.

More generically, this command is hubot limit <commandId> to [<value> <key>...]

hubot limit remove <commandId> or something of the sort?

Idk