summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-04-21 03:25:12 +0500
committerilotterytea <iltsu@alright.party>2024-04-21 03:25:12 +0500
commitb4fca15aec26332c1315c8c3030169bbf342da3e (patch)
treef2529eeb93f20520f378049dce90173f2f42ce74 /src/main.cpp
parent59084cf514386726df20c3b8e334f4f77685b97e (diff)
feat: command loader
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 129b074..b437708 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,6 +1,7 @@
#include <iostream>
#include <optional>
+#include "commands/command.hpp"
#include "config.hpp"
#include "irc/client.hpp"
@@ -22,6 +23,7 @@ int main(int argc, char *argv[]) {
}
bot::irc::Client client(cfg.bot_username, cfg.bot_password);
+ bot::command::CommandLoader command_loader;
client.run();