feat(eventsub): Add support for /(un)raid (#6002)

This commit is contained in:
pajlada
2025-02-27 19:41:41 +01:00
committed by GitHub
parent 9a8658f20c
commit d2c158098d
7 changed files with 373 additions and 13 deletions
@@ -133,4 +133,16 @@ void makeModerateMessage(
const lib::payload::channel_moderate::v2::Event &event,
const lib::payload::channel_moderate::v2::Unmod &action);
/// <MODERATOR> initiated a raid to <CHANNEL>.
void makeModerateMessage(
EventSubMessageBuilder &builder,
const lib::payload::channel_moderate::v2::Event &event,
const lib::payload::channel_moderate::v2::Raid &action);
/// <MODERATOR> canceled the raid to <CHANNEL>.
void makeModerateMessage(
EventSubMessageBuilder &builder,
const lib::payload::channel_moderate::v2::Event &event,
const lib::payload::channel_moderate::v2::Unraid &action);
} // namespace chatterino::eventsub