iGoodie / TwitchSpawn

👾 TwitchSpawn is a Minecraft mod, which is designed for Twitch streamers using 3rd party streaming tools! (comes with its own language!)
https://www.curseforge.com/minecraft/mc-mods/twitchspawn
Eclipse Public License 1.0
52 stars 25 forks source link

Founder badge seems to prevent sub detection #39

Open FailToSurvive opened 3 years ago

FailToSurvive commented 3 years ago

Describe the bug Users with a founders badge does not get detected with months >= 1. Is there a different filter that I can search for?

To Reproduce Steps to reproduce the behavior:

  1. Setup a rule:

    EXECUTE %/setblock ~ ~ ~ minecraft:torch% ON Twitch Chat Message WITH message PREFIX %!torch% WITH months >= 1

  2. Have someone with a founder badge in your channel type !torch

Expected behavior I would expect the torch to be placed.

Screenshots N/A

Version (please complete the following information):

Additional context Add any other context about the problem here.

iGoodie commented 3 years ago

Oh that's an interesting bug. May I ask for the logs of one session you received that event from a founder? :)

FailToSurvive commented 3 years ago

Uh, which logs do you need? Do I have to set a setting somewhere to get the logs?

FailToSurvive commented 3 years ago

Actually, I think I found the stuff you're looking for:

[20:08:50] [OkHttp https://irc-ws.chat.twitch.tv/.../INFO] [net.programmer.igoodie.twitchspawn.TwitchSpawn]: Handling (for FailToSurvive) arguments {eventType=chat, eventAccount=twitch, eventName=Twitch Chat Message, streamerNickname=FailToSurvive, actorNickname=Jaughn_Dough, message=!torch, subscriptionTier=-1, chatBadges=[premium, founder, moderator]} [20:08:50] [Server thread/DEBUG] [net.programmer.igoodie.twitchspawn.TwitchSpawn]: Reached TSLPredicate node -> PrefixComparator with {eventType=chat, eventAccount=twitch, eventName=Twitch Chat Message, streamerNickname=FailToSurvive, actorNickname=Jaughn_Dough, message=!torch, subscriptionTier=-1, chatBadges=[premium, founder, moderator]} [20:08:50] [Server thread/DEBUG] [net.programmer.igoodie.twitchspawn.TwitchSpawn]: Reached TSLPredicate node -> GreaterThanOrEqComparator with {eventType=chat, eventAccount=twitch, eventName=Twitch Chat Message, streamerNickname=FailToSurvive, actorNickname=Jaughn_Dough, message=!torch, subscriptionTier=-1, chatBadges=[premium, founder, moderator]}