File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ func (b *PollCreateBuilder) SetQuestion(text string) *PollCreateBuilder {
13
13
return b
14
14
}
15
15
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 {
18
18
b .Answers = answers
19
19
return b
20
20
}
21
21
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 {
24
24
b .Answers = append (b .Answers , PollMedia {
25
25
Text : & text ,
26
26
Emoji : emoji ,
You can’t perform that action at this time.
0 commit comments