Sorry I'm late on this. Things came up.
comments = Array.from(document.querySelectorAll('ul.comments li .person-listing span'))
names = comments.map((x) => x.textContent)
names[Math.floor(Math.random() * names.length)]
"@kubusikan@feddit.org"
However, @kubusikan@feddit.org has never posted or commented here before and is not eligible to win.
names[Math.floor(Math.random() * names.length)]
"fistac0rpse"
@fistac0rpse@fedia.io is also not eligible to win, which is probably why they deleted their comment.
names[Math.floor(Math.random() * names.length)]
"@KairuByte@lemmy.dbzer0.com"
@KairuByte@lemmy.dbzer0.com commented that they don't think they qualify, but actually did comment on the previous giveaway, which does qualify.