fix: poll answer id should never be 0

This commit is contained in:
CyberL1 authored and Rory& committed 2026-06-25 17:56:49 +02:00
1 parent 3896b143c6
commit 305d1d87b2
1 file changed
+1 -1
+1 -1
View File
@@ -495,7 +495,7 @@ export async function handleMessage(opts: MessageOptions): Promise<Message> {
if (opts.poll?.answers) {
for (let i = 0; i < opts.poll.answers.length; i++) {
message.poll.answers[i].answer_id = i;
message.poll.answers[i].answer_id = i + 1;
}
}
}