summaryrefslogtreecommitdiff
path: root/bot/src/commands/command.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-06 12:40:01 +0500
committerilotterytea <iltsu@alright.party>2025-07-06 12:40:01 +0500
commitc445bc6def35a9e01b4303ab6fac3a7d71c8f56f (patch)
tree5ab45b533e822a8a497d0624990c110badd8280a /bot/src/commands/command.hpp
parent0194f86ee840b9585fdc9a111b3d9521217b39bf (diff)
feat: command aliases
Diffstat (limited to 'bot/src/commands/command.hpp')
-rw-r--r--bot/src/commands/command.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/src/commands/command.hpp b/bot/src/commands/command.hpp
index 507504c..92205d7 100644
--- a/bot/src/commands/command.hpp
+++ b/bot/src/commands/command.hpp
@@ -31,6 +31,7 @@ namespace bot {
virtual schemas::PermissionLevel get_permission_level() const {
return schemas::PermissionLevel::USER;
}
+ virtual std::vector<std::string> get_aliases() const { return {}; }
virtual int get_delay_seconds() const { return 5; }
virtual std::vector<std::string> get_subcommand_ids() const {
return {};