Alert for gift subs broken


#1

Java Version: 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12
OS Version: Linux 3.14.32-xxxx-grs-ipv6-64 (amd64)
Panel Version: 1.1
PhantomBot Version: 2.3.9.1-NB-20171201 (Revision: 52aed06)

Description of Issue:
Alert for gift subs does not work. Triggers this error:

[12-02-2017 @ 04:28:43.074 GMT] [ERROR] [init.js:308] (hook.call, subscriptionGift, ./handlers/subscribeHandler.js) ReferenceError: “resubscriber” is not defined.


#2

Mind you, I do not have the event from Twitch, I would have to find the event format and fake it, but I did add in a giftsubtest Console command to at least test the message.

giftsubtest
[12-01-2017 @ 22:20:51.468 MST] [CONSOLE] Executing giftsubtest (User: J8L0AqM87m)
[12-01-2017 @ 22:20:51.496 MST] [CHAT] notillusionaryone just gifted J8L0AqM87m a subscription!

Drop (plan) from the message. I need to go in and write a generic “plan handler” but not doing that tonight to convert numbers to meaningful values (i.e. 1000 means nothing to anyone I think).


#3

This topic was automatically closed after 30 days. New replies are no longer allowed.