1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-30 22:48:30 +00:00

4.0.0-rc13.22

* Added: Support for clicking Twitch emotes to open information cards.
* Added: Option to allow clicking blocked terms in chat to reveal the term.
* Fixed: Twitch Experiments not being detected properly.
This commit is contained in:
SirStendec 2019-01-18 19:07:57 -05:00
parent 360d19e4bf
commit 9b95efb459
7 changed files with 265 additions and 21 deletions

View file

@ -954,10 +954,14 @@ export default class ChatHook extends Module {
}
if ( original.message ) {
const user = original.message.user;
const user = original.message.user,
flags = original.message.flags;
if ( user )
message.emotes = user.emotes;
if ( flags && this.getFilterFlagOptions )
message.flags = this.getFilterFlagOptions(flags);
if ( typeof original.action === 'string' )
message.message = original.action;
else