diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-08 23:29:37 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-08 23:29:37 +0500 |
| commit | 860e6216e9c0c5e554d07aa0db8ab74dfbb873f7 (patch) | |
| tree | c69f725d1f003bfbdc44e869eec2a992d97f1a3f /src/commands/command.cpp | |
| parent | e0b13f112bb3aa037434a040709636d47ac1752a (diff) | |
feat: new command - !scmd
Diffstat (limited to 'src/commands/command.cpp')
| -rw-r--r-- | src/commands/command.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/command.cpp b/src/commands/command.cpp index 44a405c..4cfe959 100644 --- a/src/commands/command.cpp +++ b/src/commands/command.cpp @@ -9,6 +9,7 @@ #include <string> #include "../bundle.hpp" +#include "../modules/custom_command.hpp" #include "../modules/event.hpp" #include "../modules/join.hpp" #include "../modules/massping.hpp" @@ -25,6 +26,7 @@ namespace bot { this->add_command(std::make_unique<mod::Event>()); this->add_command(std::make_unique<mod::Notify>()); this->add_command(std::make_unique<mod::Join>()); + this->add_command(std::make_unique<mod::CustomCommand>()); } void CommandLoader::add_command(std::unique_ptr<Command> command) { |
