diff options
Diffstat (limited to 'bot/src/schemas/stream.cpp')
| -rw-r--r-- | bot/src/schemas/stream.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bot/src/schemas/stream.cpp b/bot/src/schemas/stream.cpp index c332fd8..80fc854 100644 --- a/bot/src/schemas/stream.cpp +++ b/bot/src/schemas/stream.cpp @@ -36,7 +36,13 @@ namespace bot::schemas { return EventType::BTTV_EMOTE_UPDATE; } #endif - else { + else if (type == "rss") { + return EventType::RSS; + } else if (type == "twitter") { + return EventType::TWITTER; + } else if (type == "telegram") { + return EventType::TELEGRAM; + } else { return EventType::CUSTOM; } } |
