Skip to content

Commit 30d79e8

Browse files
authored
fix(PollAnswer): fetchVoters route changed to MessageManager (#10251)
Update PollAnswer.js
1 parent f2794e1 commit 30d79e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/discord.js/src/structures/PollAnswer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class PollAnswer extends Base {
7777
* @returns {Promise<Collection<Snowflake, User>>}
7878
*/
7979
fetchVoters({ after, limit } = {}) {
80-
return this.poll.message.channel.fetchPollAnswerVoters({
80+
return this.poll.message.channel.messages.fetchPollAnswerVoters({
8181
messageId: this.poll.message.id,
8282
answerId: this.id,
8383
after,

0 commit comments

Comments
 (0)