diff options
| author | ilotterytea <iltsu@alright.party> | 2025-07-01 18:54:10 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-07-01 18:54:10 +0500 |
| commit | 8c2e0d8c1faabb76f2e75cddc8b7da2caabf8da6 (patch) | |
| tree | 5d227bd7529c0fa7e248737d430212275621bb93 /bot/src/schemas | |
| parent | 25a25a07a7b68443791974800dbfc77d223392d6 (diff) | |
feat: KICK SUPPORT RAAAAH!!!! emojiAngry
Diffstat (limited to 'bot/src/schemas')
| -rw-r--r-- | bot/src/schemas/stream.cpp | 16 | ||||
| -rw-r--r-- | bot/src/schemas/stream.hpp | 4 |
2 files changed, 20 insertions, 0 deletions
diff --git a/bot/src/schemas/stream.cpp b/bot/src/schemas/stream.cpp index f6df3f4..0d21caf 100644 --- a/bot/src/schemas/stream.cpp +++ b/bot/src/schemas/stream.cpp @@ -10,6 +10,14 @@ namespace bot::schemas { return EventType::TITLE; } else if (type == "game") { return EventType::GAME; + } else if (type == "kick_live") { + return EventType::KICK_LIVE; + } else if (type == "kick_offline") { + return EventType::KICK_OFFLINE; + } else if (type == "kick_title") { + return EventType::KICK_TITLE; + } else if (type == "kick_game") { + return EventType::KICK_GAME; } else if (type == "github") { return EventType::GITHUB; } else if (type == "7tv_emote_add") { @@ -42,6 +50,14 @@ namespace bot::schemas { return "title"; } else if (type == GAME) { return "game"; + } else if (type == KICK_LIVE) { + return "kick_live"; + } else if (type == KICK_OFFLINE) { + return "kick_offline"; + } else if (type == KICK_TITLE) { + return "kick_title"; + } else if (type == KICK_GAME) { + return "kick_game"; } else if (type == GITHUB) { return "github"; } else if (type == STV_EMOTE_CREATE) { diff --git a/bot/src/schemas/stream.hpp b/bot/src/schemas/stream.hpp index 348eccb..7e089c7 100644 --- a/bot/src/schemas/stream.hpp +++ b/bot/src/schemas/stream.hpp @@ -9,6 +9,10 @@ namespace bot::schemas { OFFLINE, TITLE, GAME, + KICK_LIVE, + KICK_OFFLINE, + KICK_TITLE, + KICK_GAME, STV_EMOTE_CREATE = 10, STV_EMOTE_DELETE, STV_EMOTE_UPDATE, |
