Skip to content

Commit 3ff4973

Browse files
author
mlnrDev
committed
Rename some PollCreateBuilder funcs for consistency
1 parent a587875 commit 3ff4973

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

discord/poll_create_builder.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ func (b *PollCreateBuilder) SetQuestion(text string) *PollCreateBuilder {
1313
return b
1414
}
1515

16-
// SetPollAnswers sets the answers of the Poll
17-
func (b *PollCreateBuilder) SetPollAnswers(answers ...PollMedia) *PollCreateBuilder {
16+
// SetAnswers sets the answers of the Poll
17+
func (b *PollCreateBuilder) SetAnswers(answers ...PollMedia) *PollCreateBuilder {
1818
b.Answers = answers
1919
return b
2020
}
2121

22-
// AddPollAnswer adds an answer to the Poll
23-
func (b *PollCreateBuilder) AddPollAnswer(text string, emoji *PartialEmoji) *PollCreateBuilder {
22+
// AddAnswer adds an answer to the Poll
23+
func (b *PollCreateBuilder) AddAnswer(text string, emoji *PartialEmoji) *PollCreateBuilder {
2424
b.Answers = append(b.Answers, PollMedia{
2525
Text: &text,
2626
Emoji: emoji,

0 commit comments

Comments
 (0)