summaryrefslogtreecommitdiff
path: root/bot/src/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/schemas')
-rw-r--r--bot/src/schemas/stream.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/bot/src/schemas/stream.cpp b/bot/src/schemas/stream.cpp
index 80fc854..f9981a0 100644
--- a/bot/src/schemas/stream.cpp
+++ b/bot/src/schemas/stream.cpp
@@ -82,7 +82,13 @@ namespace bot::schemas {
return "bttv_updated_emote";
}
#endif
- else {
+ else if (type == RSS) {
+ return "rss";
+ } else if (type == TWITTER) {
+ return "twitter";
+ } else if (type == TELEGRAM) {
+ return "telegram";
+ } else {
return "custom";
}
}