summaryrefslogtreecommitdiff
path: root/src/commands/command.cpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-09 00:04:43 +0500
committerilotterytea <iltsu@alright.party>2024-05-09 00:04:43 +0500
commit8c9f4843fc904f53197d6008c29df7ba5b1353e9 (patch)
tree17319950fb7772a3577215d83e9f30c5adb0f2ea /src/commands/command.cpp
parent6b89f774abdd2f12b7b33933a8c1a72a39394b0a (diff)
feat: new command - !timer
Diffstat (limited to 'src/commands/command.cpp')
-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 4cfe959..0bc0f15 100644
--- a/src/commands/command.cpp
+++ b/src/commands/command.cpp
@@ -15,6 +15,7 @@
#include "../modules/massping.hpp"
#include "../modules/notify.hpp"
#include "../modules/ping.hpp"
+#include "../modules/timer.hpp"
#include "../utils/chrono.hpp"
#include "request.hpp"
@@ -27,6 +28,7 @@ namespace bot {
this->add_command(std::make_unique<mod::Notify>());
this->add_command(std::make_unique<mod::Join>());
this->add_command(std::make_unique<mod::CustomCommand>());
+ this->add_command(std::make_unique<mod::Timer>());
}
void CommandLoader::add_command(std::unique_ptr<Command> command) {