summaryrefslogtreecommitdiff
path: root/src/commands/command.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-05 03:59:08 +0500
committerilotterytea <iltsu@alright.party>2024-05-05 03:59:08 +0500
commita150df50e31d8cb6145a4ffe7cc7e3a3c623ca54 (patch)
treef682292efa5abfc34f4017437f9ad116803b2232 /src/commands/command.hpp
parent832fab6c6e4d5ff051a33282b11ce5bcaeca7002 (diff)
feat: exception class for commands
Diffstat (limited to 'src/commands/command.hpp')
-rw-r--r--src/commands/command.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/commands/command.hpp b/src/commands/command.hpp
index 345b821..40ec114 100644
--- a/src/commands/command.hpp
+++ b/src/commands/command.hpp
@@ -11,6 +11,16 @@
namespace bot {
namespace command {
+ enum CommandArgument {
+ SUBCOMMAND,
+ MESSAGE,
+ INTERVAL,
+ NAME,
+ TARGET,
+ VALUE,
+ AMOUNT,
+ };
+
class Command {
public:
virtual std::string get_name() const = 0;