diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-17 02:58:17 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-17 02:58:17 +0500 |
| commit | d54fa21b30a52c453aaa03c734e278f9fc8adb02 (patch) | |
| tree | 3f8c6558c6476eb2483b78bd8db4c09cc4ac55b9 /bot/src/commands/command.cpp | |
| parent | 0d1935d624a0f7c10cadc752c37f354bc792af32 (diff) | |
upd: moved lua command to main lua.hpp
Diffstat (limited to 'bot/src/commands/command.cpp')
| -rw-r--r-- | bot/src/commands/command.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<mod::LuaExecution>()); - this->add_command(std::make_unique<mod::LuaRemoteExecution>()); + this->add_command(std::make_unique<lua::mod::LuaExecution>()); + this->add_command(std::make_unique<lua::mod::LuaRemoteExecution>()); this->luaState = std::make_shared<sol::state>(); this->luaState->open_libraries(sol::lib::base, sol::lib::string, |
