From 4dfecba2444f1457b91be46cee32169049a533c3 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 4 Dec 2025 17:03:45 +0500 Subject: feat: superuser role --- bot/src/config.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bot/src/config.cpp') diff --git a/bot/src/config.cpp b/bot/src/config.cpp index a2cd2d6..fc6a5fe 100644 --- a/bot/src/config.cpp +++ b/bot/src/config.cpp @@ -122,6 +122,10 @@ namespace bot { for (const std::string &x : utils::string::split_text(value, ',')) { ttv_cfg.trusted_user_ids.push_back(std::stoi(x)); } + } else if (key == "twitch.superuser_ids") { + for (const std::string &x : utils::string::split_text(value, ',')) { + ttv_cfg.superuser_ids.push_back(std::stoi(x)); + } } else if (key == "db_name") { -- cgit v1.2.3