summaryrefslogtreecommitdiff
path: root/bot/src/commands/command.cpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-12 16:55:51 +0500
committerilotterytea <iltsu@alright.party>2025-04-12 16:55:51 +0500
commit9fc268e10ec78830df8ebb6b60f201790e5d5d6f (patch)
tree47d055d424537a96075804b99acbdd04b4747dfd /bot/src/commands/command.cpp
parent0e1b8bcdd6435ea1f1ad878a6f0813ab72259c24 (diff)
feat: db functions for lua
Diffstat (limited to 'bot/src/commands/command.cpp')
-rw-r--r--bot/src/commands/command.cpp1
1 files changed, 1 insertions, 0 deletions
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(),