mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-09 15:50:53 +00:00
eslint: unused vars
This commit is contained in:
parent
6c24c109d2
commit
4289075892
1 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ import { has } from 'utilities/object';
|
||||||
import { KEYS, RERENDER_SETTINGS, UPDATE_BADGE_SETTINGS, UPDATE_TOKEN_SETTINGS } from 'utilities/constants';
|
import { KEYS, RERENDER_SETTINGS, UPDATE_BADGE_SETTINGS, UPDATE_TOKEN_SETTINGS } from 'utilities/constants';
|
||||||
import { print_duration } from 'utilities/time';
|
import { print_duration } from 'utilities/time';
|
||||||
|
|
||||||
import { getRewardTitle, getRewardCost, isGiantEmoteReward, doesRewardCostBits, isMessageEffect } from './points';
|
import { getRewardTitle, getRewardCost, isGiantEmoteReward, doesRewardCostBits } from './points';
|
||||||
import awaitMD, {getMD} from 'utilities/markdown';
|
import awaitMD, {getMD} from 'utilities/markdown';
|
||||||
|
|
||||||
const SUB_TIERS = {
|
const SUB_TIERS = {
|
||||||
|
@ -41,7 +41,7 @@ export default class ChatLine extends Module {
|
||||||
this.line_types = {};
|
this.line_types = {};
|
||||||
|
|
||||||
this.line_types.unknown = {
|
this.line_types.unknown = {
|
||||||
renderNotice: (msg, current_user, room, inst, e) => `Unknown message type: ${msg.ffz_type}`
|
renderNotice: msg => `Unknown message type: ${msg.ffz_type}`
|
||||||
};
|
};
|
||||||
|
|
||||||
this.line_types.notice = {
|
this.line_types.notice = {
|
||||||
|
@ -177,7 +177,7 @@ export default class ChatLine extends Module {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.line_types.cheer = {
|
this.line_types.cheer = {
|
||||||
renderNotice: (msg, current_user, room, inst, e) => this.i18n.tList(
|
renderNotice: msg => this.i18n.tList(
|
||||||
'chat.bits-message',
|
'chat.bits-message',
|
||||||
'Cheered {count, plural, one {# Bit} other {# Bits}}',
|
'Cheered {count, plural, one {# Bit} other {# Bits}}',
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue