diff options
| author | ilotterytea <iltsu@alright.party> | 2025-07-22 23:12:52 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-07-22 23:12:52 +0500 |
| commit | 84aebba223b6a8f9eb2d1272c3ed2083d561f2b9 (patch) | |
| tree | 02ae6f5798617074cf6ea095669c15d0ca48a402 /bot/src/schemas/stream.cpp | |
| parent | 8b86e9a8f071a1af5ce1531a9ebd2b2140e73ff7 (diff) | |
feat: RSS support
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; } } |
