1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-06 22:30:57 +00:00
* Added: `Current Category` rule type for profile rules. (Ironically, does not currently apply when on the directory page for a category.)
* Fixed: Various chat input related features breaking, including Room Actions and tab-completion of emotes.
* Fixed: Alignment of certain chat settings menu elements.
* Maintenance: Update our copy of the `CHAT_TYPES` enum with new types from Twitch's client.
This commit is contained in:
SirStendec 2019-10-22 18:32:56 -04:00
parent bbaf96584c
commit 903b0b234c
9 changed files with 199 additions and 8 deletions

View file

@ -141,6 +141,15 @@ export default class TwitchData extends Module {
};
}
async getCategory(id, name) {
const data = await this.queryApollo(
require('./data/category-fetch.gql'),
{ id, name }
);
return get('data.game', data);
}
// ========================================================================
// Users