diff --git a/src/modules/subathons/component.py b/src/modules/subathons/component.py index 619c6b4..cd62385 100644 --- a/src/modules/subathons/component.py +++ b/src/modules/subathons/component.py @@ -177,7 +177,7 @@ class SubathonComponent(cmds.Component): # Check goals @cmds.Component.listener() - async def event_safe_subscription_gift(self, payload): + async def event_safe_gift_subscription(self, payload): event_row, detail_row, gift_payload = payload if (active := await self.get_active_subathon(event_row['communityid'])) is not None: diff --git a/src/modules/tracker/component.py b/src/modules/tracker/component.py index eb7b4a4..5e062e9 100644 --- a/src/modules/tracker/component.py +++ b/src/modules/tracker/component.py @@ -288,7 +288,7 @@ class TrackerComponent(cmds.Component): tier=int(payload.tier), gifted_count=payload.total, ) - self.bot.safe_dispatch('gift_subscription', payload=(event_row, detail_row, payload)) + self.bot.safe_dispatch('subscription_gift', payload=(event_row, detail_row, payload)) @cmds.Component.listener() async def event_subscription_message(self, payload: twitchio.ChannelSubscriptionMessage):