Bind Twitch Moderation Events Like Ban / Timeout


Is it possible to bind to ban / timeout events from twitch chat in a custom script?

I tried ircModeration, PubSubModerationBan. and PubSubModerationTimeout but it doesn’t trigger any of those events when someone it timedout or banned.


Hey there,

as of right now, these events are only fired if you have the toggle to show moderation events in discord enabled. If you do not use Discord, you can simply put this code in your script at the top, start PhantomBot, then it should enable those events for you. You can remove the code once you’ve started PhantomBot once.

$.inidb.set('chatModerator', 'moderationLogs', 'true');

Hope this helps!


Perfect, thank you.


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