summaryrefslogtreecommitdiff
path: root/bot/src/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/schemas')
-rw-r--r--bot/src/schemas/stream.cpp16
-rw-r--r--bot/src/schemas/stream.hpp4
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,