summaryrefslogtreecommitdiff
path: root/bot/src/schemas/channel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/schemas/channel.hpp')
-rw-r--r--bot/src/schemas/channel.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/src/schemas/channel.hpp b/bot/src/schemas/channel.hpp
index ace4c4d..08ed8ad 100644
--- a/bot/src/schemas/channel.hpp
+++ b/bot/src/schemas/channel.hpp
@@ -48,6 +48,8 @@ namespace bot::schemas {
};
enum ChannelFeature { MARKOV_RESPONSES, RANDOM_MARKOV_RESPONSES };
+ std::optional<ChannelFeature> string_to_channel_feature(
+ const std::string &value);
class ChannelPreferences {
public: