diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-04 01:26:30 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-04 01:26:30 +0500 |
| commit | 428998889e9bb60c7dc46388184b07c489ddaeb2 (patch) | |
| tree | 872a11239eebbf930c85d846f7cec9f828a43ab5 /bot/src/commands/lua.cpp | |
| parent | 638622d66dbe58ff96b7d1c2c6ec4b040b27da6d (diff) | |
feat: trusted users
Diffstat (limited to 'bot/src/commands/lua.cpp')
| -rw-r--r-- | bot/src/commands/lua.cpp | 2 |
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; } |
