summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-05 19:45:51 +0500
committerilotterytea <iltsu@alright.party>2024-05-05 19:45:51 +0500
commit84bb9ad288d88ce4777137be402ecddf6c3f9a0e (patch)
tree45420eb2c859f484ca5da7af39e40f4c43bc3fd2 /src/commands
parentb0fed946b38de699cde4ed44243f93bf1fc08811 (diff)
feat: new command - !event
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/command.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/command.cpp b/src/commands/command.cpp
index 60db7c5..46dc03b 100644
--- a/src/commands/command.cpp
+++ b/src/commands/command.cpp
@@ -9,6 +9,7 @@
#include <string>
#include "../bundle.hpp"
+#include "../modules/event.hpp"
#include "../modules/massping.hpp"
#include "../modules/ping.hpp"
#include "../utils/chrono.hpp"
@@ -19,6 +20,7 @@ namespace bot {
CommandLoader::CommandLoader() {
this->add_command(std::make_unique<mod::Ping>());
this->add_command(std::make_unique<mod::Massping>());
+ this->add_command(std::make_unique<mod::Event>());
}
void CommandLoader::add_command(std::unique_ptr<Command> command) {