diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-16 23:05:29 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-16 23:05:29 +0500 |
| commit | 7c87855d589b6201962a26e4b9ee221f5700c0d7 (patch) | |
| tree | 54a43fbb853f38673677499179bee81f6486ad9a /bot/src/commands | |
| parent | c9d6dc5fe4f6c62f762c696999b212b5bf32a615 (diff) | |
fix: ids in twitch_get_users
Diffstat (limited to 'bot/src/commands')
| -rw-r--r-- | bot/src/commands/lua.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/commands/lua.cpp b/bot/src/commands/lua.cpp index aa32b04..396a5a2 100644 --- a/bot/src/commands/lua.cpp +++ b/bot/src/commands/lua.cpp @@ -665,8 +665,8 @@ namespace bot::command::lua { } } else if (name == "ids") { for (auto &[_, x] : t) { - if (x.is<std::string>()) { - ids.push_back(x.as<int>()); + if (x.is<long long>()) { + ids.push_back(x.as<long long>()); } } } else { |
