1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-07 06:40:54 +00:00
* Added: Support for Twitch's redesigned badges.
* Added: Version selector to choose between the new vs old badge designs.
* Added: Option to adjust badge colors for visibility depending on the current background color.
* Changed: Use the channel accent color for the border on re-subscription messages and other notices.
* Fixed: Update `dayjs` dependency for upstream i18n fixes.
* Fixed: Hiding Side Navigation not functioning with a certain Twitch experiment.
* Fixed: Certain player settings, such as hiding extensions, not functioning.
* Maintenance: Update a few dependencies.
This commit is contained in:
SirStendec 2019-12-05 23:13:27 -05:00
parent ff0f0ea074
commit 1fe7c417f3
14 changed files with 229 additions and 64 deletions

View file

@ -177,6 +177,14 @@ export default class TwitchData extends Module {
return get('data.user', data);
}
async getLastBroadcast(id, login) {
const data = await this.queryApollo(
require('./data/last-broadcast.gql'),
{ id, login }
);
return get('data.user.lastBroadcast', data);
}
// ========================================================================
// Broadcast ID