From 112136c184bcb226fa84e9b5a39c2d1dc557c4d3 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 8 Apr 2025 01:07:11 +0400 Subject: feat: a method for loading a single lua file --- bot/src/commands/command.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'bot/src/commands/command.hpp') diff --git a/bot/src/commands/command.hpp b/bot/src/commands/command.hpp index fcaacdb..507504c 100644 --- a/bot/src/commands/command.hpp +++ b/bot/src/commands/command.hpp @@ -44,6 +44,7 @@ namespace bot { void add_command(std::unique_ptr cmd); void load_lua_directory(const std::string &folder_path); + void load_lua_file(const std::string &file_path); std::optional run(const InstanceBundle &bundle, const Request &msg); -- cgit v1.2.3