summaryrefslogtreecommitdiff
path: root/bot/src/schemas
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-23 17:45:09 +0500
committerilotterytea <iltsu@alright.party>2025-07-23 17:45:09 +0500
commitd9713c9184741a00c9d15f3ae50c96a5695afd92 (patch)
tree06d2f2f65566a4c50adaf1ba93a5edd4ed151e95 /bot/src/schemas
parentbdf5110655da586e05da0c5dff3512b4d83bd207 (diff)
fix: some fixes in rss
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";
}
}