mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(PollAnswer): fetchVoters route changed to MessageManager (#10251)
Update PollAnswer.js
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user