summaryrefslogtreecommitdiff
path: root/src/commands/command.cpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-02 02:08:01 +0500
committerilotterytea <iltsu@alright.party>2024-05-02 02:08:01 +0500
commit9bb97ad75e32d50a682571fa36bafa79f1e2d014 (patch)
tree2b1e34c15ac3c53cb060c3a25075e7ab26efc9ff /src/commands/command.cpp
parent645c58e5145027be710ebbec4c4a4a5530f4d1f6 (diff)
feat: massping command
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 8c097a9..60db7c5 100644
--- a/src/commands/command.cpp
+++ b/src/commands/command.cpp
@@ -9,6 +9,7 @@
#include <string>
#include "../bundle.hpp"
+#include "../modules/massping.hpp"
#include "../modules/ping.hpp"
#include "../utils/chrono.hpp"
#include "request.hpp"
@@ -17,6 +18,7 @@ namespace bot {
namespace command {
CommandLoader::CommandLoader() {
this->add_command(std::make_unique<mod::Ping>());
+ this->add_command(std::make_unique<mod::Massping>());
}
void CommandLoader::add_command(std::unique_ptr<Command> command) {