refactor(PollAnswer)!: remove fetchVoters (#11059)

BREAKING CHANGE: The `PollAnswer#fetchVoters` method has been removed. Use `PollAnswer#voters#fetch` instead.

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
Almeida
2025-09-02 17:51:24 +01:00
committed by GitHub
parent bb67f3c154
commit 5a656b849f
4 changed files with 14 additions and 29 deletions

View File

@@ -16,7 +16,7 @@ client.on(Events.ClientReady, async () => {
// console.dir(message.poll, { depth: Infinity });
// const answer = message.poll.answers.first();
// const voters = await answer.fetchVoters();
// const voters = await answer.voters.fetch();
// console.dir(voters);
const message = await channel.send({