Browse Source

docs

pull/2260/head
Sir-Photch 3 years ago
parent
commit
ebd7aac80d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/Discord.Net.Core/Utils/Preconditions.cs

+ 2
- 0
src/Discord.Net.Core/Utils/Preconditions.cs View File

@@ -300,6 +300,8 @@ namespace Discord

#region SlashCommandOptions

/// <exception cref="ArgumentNullException"><paramref name="description"/> or <paramref name="name"/> is null.</exception>
/// <exception cref="ArgumentException"><paramref name="description"/> or <paramref name="name"/> are either empty or their length exceed limits.</exception>
public static void Options(string name, string description)
{
// Make sure the name matches the requirements from discord


Loading…
Cancel
Save