Skip to content

Commit

Permalink
Update PollAnswer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
XCraftTM committed May 4, 2024
1 parent f2794e1 commit ac46d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/PollAnswer.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class PollAnswer extends Base {
* @returns {Promise<Collection<Snowflake, User>>}
*/
fetchVoters({ after, limit } = {}) {
return this.poll.message.channel.fetchPollAnswerVoters({
return this.poll.message.channel.messages.fetchPollAnswerVoters({
messageId: this.poll.message.id,
answerId: this.id,
after,
Expand Down

0 comments on commit ac46d02

Please sign in to comment.