2mac/rockbot

Command events should block Message events

Closed this issue · 1 comments

2mac commented

If a message is a command, it shouldn't be processed as a message.

2mac commented

The change which "fixed" this was reverted. Some message events still need to trigger on commands, e.g. seen. Instead, plugins should check whether their MessageEvent is a command using event.command? and decide whether to process it.