diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-18 14:48:12 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-18 14:48:12 +0500 |
| commit | d1793df1eda463b10107d41785ad1d7f055ed476 (patch) | |
| tree | fd3e41c3b4a05924748ae4b762e1ae55a0bc815c /src/schemas/stream.cpp | |
| parent | d7a2de17e9b7931f68b5b4079b1c36866a19d343 (diff) | |
upd: moved the bot part to a relative subfolder
Diffstat (limited to 'src/schemas/stream.cpp')
| -rw-r--r-- | src/schemas/stream.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/schemas/stream.cpp b/src/schemas/stream.cpp deleted file mode 100644 index 6ef10dc..0000000 --- a/src/schemas/stream.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "stream.hpp" - -namespace bot::schemas { - EventType string_to_event_type(const std::string &type) { - if (type == "live") { - return EventType::LIVE; - } else if (type == "offline") { - return EventType::OFFLINE; - } else if (type == "title") { - return EventType::TITLE; - } else if (type == "game") { - return EventType::GAME; - } else { - return EventType::CUSTOM; - } - } -} |
