Skip to content

Commit 721e03b

Browse files
authored
Polls grammar pass (#2964)
1 parent bae7861 commit 721e03b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/guides/polls/polls.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,26 @@ A poll is part of a message; to send one you need to pass a [PollProperties] obj
2121
[!code-csharp[Creating polls](samples/create-poll.cs)]
2222

2323
> [!WARNING]
24-
> Due to limitations of the Discord API it's not possible to send attachments in a messages with a poll.
24+
> Due to limitations set by the Discord API, it's not possible to send both an attachment and a poll in the same message.
2525
2626
> [!NOTE]
27-
> It is not possible to modify polls after them being created.
27+
> It is not possible to modify polls after they are created.
2828
2929

3030
## Managing polls
3131

3232
### Ending polls
33-
You can expire polls early by calling `EndPollAsync` on an [IUserMessage] with a poll.
33+
You can end a poll early by calling `EndPollAsync` on an [IUserMessage] that has a poll.
3434

3535
[!code-csharp[Ending polls](samples/end-poll.cs)]
3636

37-
### Getting poll answer voters
37+
### Getting a poll answer's voters
3838
To get voters for a specific answer call `GetPollAnswerVotersAsync(answerId)` on an [IUserMessage] with a poll.
3939

4040
[!code-csharp[Getting poll answer voters](samples/get-poll-voters.cs)]
4141

4242
### Retrieving poll results
43-
You can get results of a poll by simply getting an [IUserMessage] and checking the `IUserMessage.Poll.Results` property. Alteratively you can check the results on a `MessageUpdated` gateway event.
43+
You can get results of a poll by simply getting an [IUserMessage] and checking the `IUserMessage.Poll.Results` property. Alternatively, you can check the results on a `MessageUpdated` gateway event.
4444

4545

4646
## Gateway events
@@ -51,11 +51,11 @@ You can receive information about poll votes live using following events:
5151
- `PollVoteRemoved`
5252

5353
> [!NOTE]
54-
> These events are only sent if the client has `GatewayIntents.GuildMessagePolls` or `GatewayIntents.DirectMessagePolls` intents enabled. It will receive events for polls in guild or dm channels respectively.
54+
> These events are only sent if the client has the `GatewayIntents.GuildMessagePolls` or `GatewayIntents.DirectMessagePolls` intents enabled. It will receive events for polls in guild or DM channels respectively.
5555
5656
### Poll expiry
5757
On poll expiry the `MessageUpdated` event is fired.
5858

5959

6060
[PollProperties]: xref:Discord.PollProperties
61-
[IUserMessage]: xref:Discord.IUserMessage
61+
[IUserMessage]: xref:Discord.IUserMessage

0 commit comments

Comments
 (0)