Browse Source

Fix indentations and references

pull/1218/head
Still Hsu 7 years ago
parent
commit
a093b59c09
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
3 changed files with 7 additions and 4 deletions
  1. +2
    -2
      src/Discord.Net.Core/Entities/Activities/Game.cs
  2. +3
    -1
      src/Discord.Net.Core/Entities/Invites/IInvite.cs
  3. +2
    -1
      src/Discord.Net.Core/Entities/Messages/MessageProperties.cs

+ 2
- 2
src/Discord.Net.Core/Entities/Activities/Game.cs View File

@@ -15,10 +15,10 @@ namespace Discord


internal Game() { } internal Game() { }
/// <summary> /// <summary>
/// Creates a <see cref="Game"/> with the provided <paramref name="name"/> and <see cref="ActivityType"/>.
/// Creates a <see cref="Game"/> with the provided name and <see cref="ActivityType"/>.
/// </summary> /// </summary>
/// <param name="name">The name of the game.</param> /// <param name="name">The name of the game.</param>
/// <param name="type">The type of activity. Default is <see cref="Discord.ActivityType.Playing"/>.</param>
/// <param name="type">The type of activity.</param>
public Game(string name, ActivityType type = ActivityType.Playing) public Game(string name, ActivityType type = ActivityType.Playing)
{ {
Name = name; Name = name;


+ 3
- 1
src/Discord.Net.Core/Entities/Invites/IInvite.cs View File

@@ -27,7 +27,9 @@ namespace Discord
/// A generic channel that the invite points to. /// A generic channel that the invite points to.
/// </returns> /// </returns>
IChannel Channel { get; } IChannel Channel { get; }
/// <summary> Gets the type of the channel this invite is linked to. </summary>
/// <summary>
/// Gets the type of the channel this invite is linked to.
/// </summary>
ChannelType ChannelType { get; } ChannelType ChannelType { get; }
/// <summary> /// <summary>
/// Gets the ID of the channel this invite is linked to. /// Gets the ID of the channel this invite is linked to.


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

@@ -4,7 +4,8 @@ namespace Discord
/// Properties that are used to modify an <see cref="IUserMessage" /> with the specified changes. /// Properties that are used to modify an <see cref="IUserMessage" /> with the specified changes.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// The content of a message can be cleared with <see cref="System.String.Empty"/> if and only if an <see cref="Discord.Embed"/> is present.
/// The content of a message can be cleared with <see cref="System.String.Empty"/> if and only if an
/// <see cref="Discord.Embed"/> is present.
/// </remarks> /// </remarks>
/// <seealso cref="IUserMessage.ModifyAsync"/> /// <seealso cref="IUserMessage.ModifyAsync"/>
public class MessageProperties public class MessageProperties


Loading…
Cancel
Save