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/command.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'bot/src/commands/command.cpp') diff --git a/bot/src/commands/command.cpp b/bot/src/commands/command.cpp index fe794ef..d98dc73 100644 --- a/bot/src/commands/command.cpp +++ b/bot/src/commands/command.cpp @@ -92,6 +92,7 @@ namespace bot { lua::library::add_bot_library(this->luaState, bundle); lua::library::add_irc_library(this->luaState, bundle); lua::library::add_twitch_library(this->luaState, request, bundle); + lua::library::add_db_library(this->luaState, bundle.configuration); auto command = std::find_if( this->commands.begin(), this->commands.end(), -- cgit v1.2.3