diff options
Diffstat (limited to 'bot/src/commands/lua.hpp')
| -rw-r--r-- | bot/src/commands/lua.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/src/commands/lua.hpp b/bot/src/commands/lua.hpp index 05e9490..1e0cd4b 100644 --- a/bot/src/commands/lua.hpp +++ b/bot/src/commands/lua.hpp @@ -71,12 +71,15 @@ namespace bot::command::lua { std::vector<std::string> get_subcommand_ids() const override { return this->subcommands; } + std::vector<std::string> get_aliases() const override { + return this->aliases; + } private: std::string name; int delay; schemas::PermissionLevel level; - std::vector<std::string> subcommands; + std::vector<std::string> subcommands, aliases; sol::function handle; |
