Inconsistent parameters among message events
momocow opened this issue · comments
For example,
Events emitted in series when the bot is @-ed.
message.group.@.me
(event, context)
message.group.@
(event, context)
message.group
(event, context)
message
(event, context)
In another hand, if a group message is received without any @ tags including the bot.
message.group.@
(event, context, atTags)
message.group
(event, context, atTags)
message
(event, context, atTags)
And normal messages without any @ tag.
message.group
(event, context)
message
(event, context)
The solution will be to make the third parameter of all message events a list of all CoolQ tags, to maintain the consistency among message events.
#17 is already in plan to provide those CoolQ tags.