1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-13 09:30:53 +00:00
* Added: Initial re-implementation of emote information cards. These have been broken for a while due to changes in Twitch's website preventing us from accessing them.
* Added: Setting to hide charity progress elements in chat.
* Changed: Emote tool-tips now display emote artists.
* Changed: The `Chat Command` chat action can now optionally be sent in another channel. Note that when doing so, you will not receive feedback from your sent message.
* Fixed: The 'Viewer Count' tool-tip duplicating itself.
* Fixed: Emote menu repeatedly requesting FFZ data.

* API Added: Ephemeral profiles can now be created by passing `ephemeral: true` in the options when creating a profile. These profiles are temporary and read-only.
This commit is contained in:
SirStendec 2023-03-27 18:50:32 -04:00
parent daa193aa03
commit 21bc0a704f
54 changed files with 1955 additions and 161 deletions

View file

@ -580,11 +580,15 @@ export default {
if ( def.title ) {
const data = this.getData(),
out = maybe_call(def.title, this, data, def),
i18n = def.title_i18n || `chat.actions.${this.display.action}`;
out = maybe_call(def.title, this, data, def);
let i18n = maybe_call(def.title_i18n, this, data, def);
if ( i18n === undefined )
i18n = `chat.actions.${this.display.action}`;
if ( out )
if ( out && i18n )
return this.t(i18n, out, data);
else if ( out )
return out;
}
return this.t('setting.actions.untitled', 'Action: {action}', this.display);
@ -614,11 +618,15 @@ export default {
return null;
const data = this.getData(),
out = maybe_call(def.description, this, data, def),
i18n = def.description_i18n || `chat.actions.${this.display.action}.desc`;
out = maybe_call(def.description, this, data, def);
let i18n = maybe_call(def.description_i18n, this, data, def);
if ( i18n === undefined )
i18n = `chat.actions.${this.display.action}.desc`;
if ( out )
if ( out && i18n )
return this.t(i18n, out, data);
else if ( out )
return out;
return null;
},