diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-01 01:09:55 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-01 01:09:55 +0500 |
| commit | 44b6856601acc5c6658f84432d09408c29a9d4fa (patch) | |
| tree | 26a6050e38298cd297779519b6e78af2f7642bab /src | |
| parent | cd9d637d362566599081dbd19bc7a025fb40be73 (diff) | |
feat: set level method
Diffstat (limited to 'src')
| -rw-r--r-- | src/schemas/user.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/schemas/user.hpp b/src/schemas/user.hpp index 909062c..a5f3238 100644 --- a/src/schemas/user.hpp +++ b/src/schemas/user.hpp @@ -81,6 +81,7 @@ namespace bot::schemas { const int &get_user_id() const { return this->user_id; } const int &get_channel_id() const { return this->channel_id; } const PermissionLevel &get_level() const { return this->level; } + void set_level(PermissionLevel level) { this->level = level; } private: int id, user_id, channel_id; |
