crowbartools / Firebot

A powerful all-in-one bot for Twitch streamers
https://firebot.app
GNU General Public License v3.0
353 stars 100 forks source link

[Bug] Multi-month subs don't show an alert for subsequent subs (month 2, month 3 etc.) #1819

Closed dennisrijsdijk closed 10 months ago

dennisrijsdijk commented 2 years ago

Is there an existing issue for this?

Current Behavior

When a user has been gifted a multi-month sub, and shares a month from that gift sub, Firebot doesn't fire any of its sub alerts (all of the events are used, and work normally with regular resubs, gift subs etc.)

Below is an example of the missing sub event.

image

Expected Behavior

Multi-month sub shares should trigger an event.

Steps To Reproduce

  1. Ensure all sub related events are set up
  2. Gift a multi-month sub
  3. Wait a month
  4. Share the sub on Twitch
  5. Notice no event trigger

Version

5.53

What operating system are you using Firebot on?

Windows 10

Relevant log output

01:44:58 GMT+0100 (British Summer Time) - debug: [v5.52.0] Received streamelements event: 
{
  _id: '62ad2009ea23a40b0a9dfb15',
  channel: '5e57d6130335bf8290b2f146',
  type: 'subscriber',
  provider: 'twitch',
  flagged: false,
  data: {
    username: 'funkadelichika',
    providerId: '145142816',
    displayName: 'funkadelichika',
    amount: 7,
    tier: '1000',
    message: 'Thanks to @Datenshi1325 for my sub gift! Butts.',
    quantity: 0,
    avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/d91c2142-1507-4f5d-a639-058436558aca-profile_image-300x300.png'
  },
  createdAt: '2022-06-18T00:44:57.110Z',
  updatedAt: '2022-06-18T00:44:57.110Z',
  activityId: '62ad2009ea23a40b0a9dfb15'
}

Contact Details (Optional)

Dennis.sh#9272

dennisrijsdijk commented 2 years ago

Edit: Log files reveal that the streamelements event fired, but no Twitch event fired, thus firebot didn't trigger an event.

zunderscore commented 10 months ago

Resolved in v5.59.0