mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 01:56:55 +00:00
4.0.0-rc21.7
* Added: Option to open viewer cards when clicking a mention in chat. * Fixed: Mention matching in chat. (Now using the same regular expression as vanilla Twitch.)
This commit is contained in:
parent
f754b7fce7
commit
b73234453b
6 changed files with 101 additions and 27 deletions
|
@ -7,7 +7,7 @@
|
|||
import Parser from '@ffz/icu-msgparser';
|
||||
|
||||
import {SERVER} from 'utilities/constants';
|
||||
import {get, pick_random, has, timeout} from 'utilities/object';
|
||||
import {get, pick_random, timeout} from 'utilities/object';
|
||||
import Module from 'utilities/module';
|
||||
|
||||
import NewTransCore from 'utilities/translation-core';
|
||||
|
@ -45,7 +45,7 @@ const FACES = ['(・`ω´・)', ';;w;;', 'owo', 'ono', 'oAo', 'oxo', 'ovo;', 'Uw
|
|||
upper: (key, ast) => transformText(ast, n => n.toUpperCase()),
|
||||
lower: (key, ast) => transformText(ast, n => n.toLowerCase()),
|
||||
append_key: (key, ast) => [...ast, ` (${key})`],
|
||||
set_key: (key, ast) => [key],
|
||||
set_key: key => [key],
|
||||
owo: (key, ast) => transformText(ast, owo)
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue