I think the above mentioned feature would make hubot-auth alot more intuitive.
The feature would be quite simple to implement aswell, instead of using this:
class Auth
isAdmin: (user) ->
user.id.toString() in admins
using this would provide username support:
class Auth
isAdmin: (user) ->
(user.id.toString() in admins) or (user.name.toString() in admins)
Please think about it, i will provide and link a pull request aswell
I think the above mentioned feature would make hubot-auth alot more intuitive. The feature would be quite simple to implement aswell, instead of using this:
using this would provide username support:
Please think about it, i will provide and link a pull request aswell