mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-06 22:30:57 +00:00
4.14.11
* 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:
parent
bbaf96584c
commit
903b0b234c
9 changed files with 199 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue