summaryrefslogtreecommitdiff
path: root/bot/src/schemas/channel.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-02 03:32:50 +0500
committerilotterytea <iltsu@alright.party>2025-07-02 03:32:50 +0500
commit94fede466d8d77f53e5c49215fc8ad99a30610f9 (patch)
tree94586a05474481faa9fbb0bb99f0cc90f9004fe7 /bot/src/schemas/channel.hpp
parent79be89ad0491bfdd110b2c612e21a0f28c29fa87 (diff)
feat: silent mode in features
Diffstat (limited to 'bot/src/schemas/channel.hpp')
-rw-r--r--bot/src/schemas/channel.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/bot/src/schemas/channel.hpp b/bot/src/schemas/channel.hpp
index a8979ec..c2ac5e2 100644
--- a/bot/src/schemas/channel.hpp
+++ b/bot/src/schemas/channel.hpp
@@ -50,9 +50,13 @@ namespace bot::schemas {
std::optional<std::chrono::system_clock::time_point> opted_out_at;
};
- enum ChannelFeature { MARKOV_RESPONSES, RANDOM_MARKOV_RESPONSES };
- const std::vector<ChannelFeature> FEATURES = {MARKOV_RESPONSES,
- RANDOM_MARKOV_RESPONSES};
+ enum ChannelFeature {
+ MARKOV_RESPONSES,
+ RANDOM_MARKOV_RESPONSES,
+ SILENT_MODE
+ };
+ const std::vector<ChannelFeature> FEATURES = {
+ MARKOV_RESPONSES, RANDOM_MARKOV_RESPONSES, SILENT_MODE};
std::optional<ChannelFeature> string_to_channel_feature(
const std::string &value);
std::optional<std::string> channelfeature_to_string(