1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-05 18:48:31 +00:00

4.0.0-rc14.1

* Fixed: Total gifted subs not displaying on gift sub messages.
This commit is contained in:
SirStendec 2019-02-06 14:45:27 -05:00
parent 24a5cd512f
commit e9d99f0e1c
3 changed files with 4 additions and 4 deletions

View file

@ -149,7 +149,7 @@ ${typeof x[1] === 'string' ? x[1] : JSON.stringify(x[1], null, 4)}`
FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = {
major: 4, minor: 0, revision: 0, extra: '-rc14',
major: 4, minor: 0, revision: 0, extra: '-rc14.1',
commit: __git_commit__,
build: __webpack_hash__,
toString: () =>

View file

@ -1001,7 +1001,7 @@ export default class ChatHook extends Module {
displayName: e.recipientName
};
out.sub_plan = e.methods;
out.sub_count = e.senderCount;
out.sub_total = e.senderCount;
//t.log.info('Sub Gift', e, out);
return i.postMessageToCurrentChannel(e, out);
@ -1048,7 +1048,7 @@ export default class ChatHook extends Module {
displayName: e.recipientName
};
out.sub_plan = e.methods;
out.sub_count = e.senderCount;
out.sub_total = e.senderCount;
//t.log.info('Anon Sub Gift', e, out);
return i.postMessageToCurrentChannel(e, out);

View file

@ -472,7 +472,7 @@ export default class ChatLine extends Module {
const plan = msg.sub_plan || {},
tier = SUB_TIERS[plan.plan] || 1;
const sub_msg = t.i18n.tList('chat.sub.mystery', '%{user} gifted a %{plan} Sub to %{recipient}!', {
const sub_msg = t.i18n.tList('chat.sub.mystery', '%{user} gifted a %{plan} Sub to %{recipient}! ', {
user: (msg.sub_anon || user.username === 'ananonymousgifter') ?
t.i18n.t('chat.sub.anonymous-gifter', 'An anonymous gifter') :
e('span', {