From 4b1dbee698c705347aec27164442c1a0ff24fab1 Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Thu, 4 Oct 2018 23:14:35 -0700 Subject: [PATCH] Add IconUrl property to MessageApplication --- .../Entities/Messages/MessageApplication.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Discord.Net.Core/Entities/Messages/MessageApplication.cs b/src/Discord.Net.Core/Entities/Messages/MessageApplication.cs index 77ee7e004..53503bd5f 100644 --- a/src/Discord.Net.Core/Entities/Messages/MessageApplication.cs +++ b/src/Discord.Net.Core/Entities/Messages/MessageApplication.cs @@ -26,6 +26,13 @@ namespace Discord /// Gets the ID of the application's icon. /// public string Icon { get; set; } + + /// + /// Gets the Url of the application's icon. + /// + public string IconUrl + => $"https://cdn.discordapp.com/app-icons/{Id}/{Icon}"; + /// /// Gets the name of the application. ///