diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-15 15:48:22 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-15 15:48:22 +0500 |
| commit | 2bd139d4323efa983df47bd131c90df501aee371 (patch) | |
| tree | b33dfddd1532389031c569b342f6f6974b728fb1 /bot/src/main.cpp | |
| parent | 25477e58bd54585066f518a0e87317a7cd9a6632 (diff) | |
feat: get loaded commands from lua
Diffstat (limited to 'bot/src/main.cpp')
| -rw-r--r-- | bot/src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/src/main.cpp b/bot/src/main.cpp index 212d190..360e243 100644 --- a/bot/src/main.cpp +++ b/bot/src/main.cpp @@ -112,7 +112,8 @@ int main(int argc, char *argv[]) { client.on<bot::irc::MessageType::Privmsg>( [&client, &command_loader, &localization, &cfg, &helix_client]( const bot::irc::Message<bot::irc::MessageType::Privmsg> &message) { - bot::InstanceBundle bundle{client, helix_client, localization, cfg}; + bot::InstanceBundle bundle{client, helix_client, localization, cfg, + command_loader}; pqxx::connection conn(GET_DATABASE_CONNECTION_URL(cfg)); |
