p-hennessy / Bolt

All the parts for building a Discord robot
https://docs.bolt.bot/
MIT License
8 stars 6 forks source link

Message Parser event publishing #3

Closed p-hennessy closed 8 years ago

p-hennessy commented 9 years ago

So far, I'm only raising commands and message events.

This needs to expand to all emitted events from Slack. All events detailed here: https://api.slack.com/rtm

I have concerns about the efficiency of the command parser. Is there a better way of fingerprinting something as a command? Having to compare each message to the whole of the commands list seems inefficient and costly when we have hundreds of commands