summaryrefslogtreecommitdiff
path: root/bot/src/commands/lua.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/commands/lua.cpp')
-rw-r--r--bot/src/commands/lua.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/src/commands/lua.cpp b/bot/src/commands/lua.cpp
index f0d3dab..9e84f8e 100644
--- a/bot/src/commands/lua.cpp
+++ b/bot/src/commands/lua.cpp
@@ -1005,6 +1005,8 @@ namespace bot::command::lua {
this->level = schemas::PermissionLevel::MODERATOR;
} else if (rights_text == "broadcaster") {
this->level = schemas::PermissionLevel::BROADCASTER;
+ } else if (rights_text == "trusted") {
+ this->level = schemas::PermissionLevel::TRUSTED;
} else {
this->level = schemas::PermissionLevel::USER;
}