summaryrefslogtreecommitdiff
path: root/src/commands/command.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-02 02:05:33 +0500
committerilotterytea <iltsu@alright.party>2024-05-02 02:05:33 +0500
commit42e4bf7bb1104dffa46ae5bcb102e4ced69d6bbf (patch)
tree536b716b1f4ec5a42a31e84ca4ac3f43dfcde4dc /src/commands/command.hpp
parent673f55a39e5e7626ca29becf60ba161f264a8ad1 (diff)
feat: subcommand id check
Diffstat (limited to 'src/commands/command.hpp')
-rw-r--r--src/commands/command.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands/command.hpp b/src/commands/command.hpp
index 922858e..345b821 100644
--- a/src/commands/command.hpp
+++ b/src/commands/command.hpp
@@ -20,6 +20,9 @@ namespace bot {
return schemas::PermissionLevel::USER;
}
virtual int get_delay_seconds() const { return 5; }
+ virtual std::vector<std::string> get_subcommand_ids() const {
+ return {};
+ }
};
class CommandLoader {