There should be a list of "Approved Users" for whom certain commands are allowed. There should therefore be a UserCapability class which supports a approved_user? class method, so that when I pass a nickname into the #approved_user? method, it returns true if the user is approved, false otherwise.
There should be a list of "Approved Users" for whom certain commands are allowed. There should therefore be a
UserCapability
class which supports aapproved_user?
class method, so that when I pass a nickname into the#approved_user?
method, it returns true if the user is approved, false otherwise.