Describe the bug
When drawing a winner for a giveaway, I get a users.array is not a function error.
Error
0|index | TypeError: users.array is not a function
0|index | at Giveaway.roll (/root/bot/node_modules/discord-giveaways/src/Giveaway.js:464:55)
0|index | at processTicksAndRejections (node:internal/process/task_queues:96:5)
0|index | at async /root/bot/node_modules/discord-giveaways/src/Giveaway.js:520:29
To Reproduce
Start a giveaway and wait for the timer to run out. When the bot is about to select a winner, the error will occur.
Describe the bug
When drawing a winner for a giveaway, I get a
users.array
is not a function error.Error
To Reproduce
Start a giveaway and wait for the timer to run out. When the bot is about to select a winner, the error will occur.
discord-giveaways
version:discord-giveaways@4.5.1 (git+ssh://git@github.com/Androz2091/discord-giveaways.git#b8a75c15d42270832ed481b546e0411a4a613d88)
discord.js
version: 13.1.0