Browse Source

comments & dots

pull/2530/head
Misha133 2 years ago
parent
commit
4e73671c18
4 changed files with 18 additions and 10 deletions
  1. +3
    -0
      src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnection.cs
  2. +3
    -1
      src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadata.cs
  3. +3
    -0
      src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadataProperties.cs
  4. +9
    -9
      src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadataType.cs

+ 3
- 0
src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnection.cs View File

@@ -2,6 +2,9 @@ using System.Collections.Generic;

namespace Discord;

/// <summary>
/// Represents the connection object that the user has attached.
/// </summary>
public class RoleConnection
{
/// <summary>


+ 3
- 1
src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadata.cs View File

@@ -1,9 +1,11 @@
using System;
using System.Collections.Generic;
using System.Collections.Immutable;

namespace Discord;

/// <summary>
/// Represents the role connection metadata object.
/// </summary>
public class RoleConnectionMetadata
{
/// <summary>


+ 3
- 0
src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadataProperties.cs View File

@@ -4,6 +4,9 @@ using System.Collections.Immutable;

namespace Discord;

/// <summary>
/// Properties object used to create or modify <see cref="RoleConnectionMetadata"/> object.
/// </summary>
public class RoleConnectionMetadataProperties
{
private const int MaxKeyLength = 50;


+ 9
- 9
src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadataType.cs View File

@@ -3,47 +3,47 @@ using System;
namespace Discord;

/// <summary>
/// Represents the type of Application Role Connection Metadata
/// Represents the type of Application Role Connection Metadata.
/// </summary>
public enum RoleConnectionMetadataType
{
/// <summary>
/// The metadata's integer value is less than or equal to the guild's configured value
/// The metadata's integer value is less than or equal to the guild's configured value.
/// </summary>
IntegerLessOrEqual = 1,

/// <summary>
/// The metadata's integer value is greater than or equal to the guild's configured value
/// The metadata's integer value is greater than or equal to the guild's configured value.
/// </summary>
IntegerGreaterOrEqual = 2,

/// <summary>
/// The metadata's integer value is equal to the guild's configured value
/// The metadata's integer value is equal to the guild's configured value.
/// </summary>
IntegerEqual = 3,

/// <summary>
/// The metadata's integer value is not equal to the guild's configured value
/// The metadata's integer value is not equal to the guild's configured value.
/// </summary>
IntegerNotEqual = 4,

/// <summary>
/// The metadata's ISO8601 string value is less or equal to the guild's configured value
/// The metadata's ISO8601 string value is less or equal to the guild's configured value.
/// </summary>
DateTimeLessOrEqual = 5,

/// <summary>
/// The metadata's ISO8601 string value is greater to the guild's configured value
/// The metadata's ISO8601 string value is greater to the guild's configured value.
/// </summary>
DateTimeGreaterOrEqual = 6,

/// <summary>
/// The metadata's integer value is equal to the guild's configured value
/// The metadata's integer value is equal to the guild's configured value.
/// </summary>
BoolEqual = 7,

/// <summary>
/// The metadata's integer value is equal to the guild's configured value
/// The metadata's integer value is equal to the guild's configured value.
/// </summary>
BoolNotEqual = 8,
}

Loading…
Cancel
Save