feat(eventsub): implement clearchat (#5981)

This commit is contained in:
nerix
2025-02-23 21:28:26 +01:00
committed by GitHub
parent c67801eca5
commit 5fca241188
8 changed files with 199 additions and 7 deletions
@@ -0,0 +1,18 @@
#pragma once
#include "twitch-eventsub-ws/payloads/channel-moderate-v2.hpp"
class QDateTime;
namespace chatterino {
class TwitchChannel;
} // namespace chatterino
namespace chatterino::eventsub {
void handleModerateMessage(
TwitchChannel *chan, const QDateTime &time,
const lib::payload::channel_moderate::v2::Event &event,
const lib::payload::channel_moderate::v2::Clear &action);
} // namespace chatterino::eventsub