From 9fc268e10ec78830df8ebb6b60f201790e5d5d6f Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 12 Apr 2025 16:55:51 +0500 Subject: feat: db functions for lua --- bot/src/commands/lua.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bot/src/commands/lua.hpp') diff --git a/bot/src/commands/lua.hpp b/bot/src/commands/lua.hpp index 6391a2e..ef16ade 100644 --- a/bot/src/commands/lua.hpp +++ b/bot/src/commands/lua.hpp @@ -10,6 +10,7 @@ #include "commands/command.hpp" #include "commands/response.hpp" +#include "config.hpp" #include "schemas/user.hpp" void print_lua_object_type(const sol::object &obj); @@ -25,6 +26,8 @@ namespace bot::command::lua { const Request &request, const InstanceBundle &bundle); void add_net_library(std::shared_ptr state); + void add_db_library(std::shared_ptr state, + const Configuration &config); void add_irc_library(std::shared_ptr state, const InstanceBundle &bundle); -- cgit v1.2.3