From 8a5c0ccec6a7d03525ba4e788c47f2c3c82b0238 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 12 Apr 2025 16:53:03 +0500 Subject: feat: bot_username() function --- 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 4ec8e59..ba4edbe 100644 --- a/bot/src/commands/command.cpp +++ b/bot/src/commands/command.cpp @@ -89,6 +89,7 @@ namespace bot { std::optional CommandLoader::run(const InstanceBundle &bundle, const Request &request) { + lua::library::add_bot_library(this->luaState, bundle); lua::library::add_twitch_library(this->luaState, request, bundle); auto command = std::find_if( -- cgit v1.2.3