summaryrefslogtreecommitdiff
path: root/bot/src/commands/lua.cpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-16 23:05:29 +0500
committerilotterytea <iltsu@alright.party>2025-04-16 23:05:29 +0500
commit7c87855d589b6201962a26e4b9ee221f5700c0d7 (patch)
tree54a43fbb853f38673677499179bee81f6486ad9a /bot/src/commands/lua.cpp
parentc9d6dc5fe4f6c62f762c696999b212b5bf32a615 (diff)
fix: ids in twitch_get_users
Diffstat (limited to 'bot/src/commands/lua.cpp')
-rw-r--r--bot/src/commands/lua.cpp4
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 {