diff options
| -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; |
