From d54fa21b30a52c453aaa03c734e278f9fc8adb02 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 17 Apr 2025 02:58:17 +0500 Subject: upd: moved lua command to main lua.hpp --- bot/src/commands/command.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bot/src/commands/command.cpp') diff --git a/bot/src/commands/command.cpp b/bot/src/commands/command.cpp index 417746c..2ecb80f 100644 --- a/bot/src/commands/command.cpp +++ b/bot/src/commands/command.cpp @@ -15,15 +15,14 @@ #include "../bundle.hpp" #include "../utils/chrono.hpp" #include "commands/lua.hpp" -#include "modules/lua.hpp" #include "request.hpp" #include "response.hpp" namespace bot { namespace command { CommandLoader::CommandLoader() { - this->add_command(std::make_unique()); - this->add_command(std::make_unique()); + this->add_command(std::make_unique()); + this->add_command(std::make_unique()); this->luaState = std::make_shared(); this->luaState->open_libraries(sol::lib::base, sol::lib::string, -- cgit v1.2.3