Browse Source

Apply suggestions from code review

Co-Authored-By: Chris Johnston <chris@thejohnstons.net>
pull/1437/head
Still Hsu GitHub 5 years ago
parent
commit
33846eef12
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      docs/guides/commands/namedarguments.md
  2. +2
    -2
      src/Discord.Net.Core/Entities/Messages/IMessage.cs

+ 1
- 1
docs/guides/commands/namedarguments.md View File

@@ -68,7 +68,7 @@ Named Argument Type has the following field,
```cs
public IEnumerable<int> Numbers { get; set; }
```
then the command can be invoked as
then the command can be invoked with
`.cmd numbers: "1, 2, 4, 8, 16, 32"`

## Additional Notes


+ 2
- 2
src/Discord.Net.Core/Entities/Messages/IMessage.cs View File

@@ -226,7 +226,7 @@ namespace Discord
/// collection.
/// </note>
/// <note type="warning">
/// Do not fetch too many users at once! This may cause unwanted preemptive rate limit or even actual
/// Do not fetch too many users at once! This may cause an unwanted preemptive rate limit or even an actual
/// rate limit, causing your bot to freeze!
/// </note>
/// This method will attempt to fetch the number of reactions specified under <paramref name="limit"/>.
@@ -234,7 +234,7 @@ namespace Discord
/// <see cref="DiscordConfig.MaxUserReactionsPerBatch"/>. In other words, should the user request 500 reactions,
/// and the <see cref="Discord.DiscordConfig.MaxUserReactionsPerBatch"/> constant is <c>100</c>, the request will
/// be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need
/// of flattening.
/// for flattening.
/// </remarks>
/// <example>
/// <para>The following example gets the users that have reacted with the emoji <c>💕</c> to the message.</para>


Loading…
Cancel
Save