summaryrefslogtreecommitdiff
path: root/bot/src/commands/command.cpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-12 16:53:03 +0500
committerilotterytea <iltsu@alright.party>2025-04-12 16:53:03 +0500
commit8a5c0ccec6a7d03525ba4e788c47f2c3c82b0238 (patch)
tree5384f60bb9bd68d792a403fa321c65df26038628 /bot/src/commands/command.cpp
parent32506ce7fcc9990961779b1b00a32a31fa985b45 (diff)
feat: bot_username() function
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 4ec8e59..ba4edbe 100644
--- a/bot/src/commands/command.cpp
+++ b/bot/src/commands/command.cpp
@@ -89,6 +89,7 @@ namespace bot {
std::optional<Response> 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(