the-round-table / trtbot

🤖 Discord Bot
MIT License
3 stars 0 forks source link

Listener Help #92

Closed bcongdon closed 6 years ago

bcongdon commented 6 years ago

Adds a listener help command and adds names/descriptions to existing listeners

Fixes #63

bcongdon commented 6 years ago

screen shot 2018-10-14 at 8 47 56 am

narendasan commented 6 years ago

Nice, this looks cool, do you think it would be worth pulling in the regex into the class and abstract out the activation of the message handler? (like the if (!!link.match(ARXIV_REGEX)) { was handled in the base class) Then the developer can just implement the handler on the assumption the message is relevant?

bcongdon commented 6 years ago

Yeah, that sounds like a good idea 👍