diff options
| -rw-r--r-- | src/commands/command.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands/command.hpp b/src/commands/command.hpp index 498a1f2..cd7e731 100644 --- a/src/commands/command.hpp +++ b/src/commands/command.hpp @@ -16,6 +16,9 @@ namespace bot { virtual std::string get_name() const = 0; virtual std::variant<std::vector<std::string>, std::string> run( const InstanceBundle &bundle, const Request &request) const = 0; + virtual schemas::PermissionLevel get_permission_level() const { + return schemas::PermissionLevel::USER; + } }; class CommandLoader { |
