From a150df50e31d8cb6145a4ffe7cc7e3a3c623ca54 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 5 May 2024 03:59:08 +0500 Subject: feat: exception class for commands --- src/commands/command.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/commands/command.hpp') 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; -- cgit v1.2.3