Browse Source

Add IconUrl property to MessageApplication

pull/1165/head
Chris Johnston 7 years ago
parent
commit
4b1dbee698
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/Discord.Net.Core/Entities/Messages/MessageApplication.cs

+ 7
- 0
src/Discord.Net.Core/Entities/Messages/MessageApplication.cs View File

@@ -26,6 +26,13 @@ namespace Discord
/// Gets the ID of the application's icon.
/// </summary>
public string Icon { get; set; }

/// <summary>
/// Gets the Url of the application's icon.
/// </summary>
public string IconUrl
=> $"https://cdn.discordapp.com/app-icons/{Id}/{Icon}";

/// <summary>
/// Gets the name of the application.
/// </summary>


Loading…
Cancel
Save