Skip to content

Commit

Permalink
🎨 Update the poll expire endpoint constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Jul 18, 2024
1 parent 20cfe55 commit 5a90d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord/Parts/Channel/Poll/Poll.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,6 @@ public function getAnswerVoters(int $answerId, int $limit = 25, ?int $after = nu
*/
public function end(): ExtendedPromiseInterface
{
return $this->http->post(Endpoint::bind(Endpoint::CHANNEL_POLL_END, $this->channel_id, $this->message_id));
return $this->http->post(Endpoint::bind(Endpoint::CHANNEL_POLL_EXPIRE, $this->channel_id, $this->message_id));
}
}

0 comments on commit 5a90d9e

Please sign in to comment.