From e41494d05672b143ef51e1631babf88b700eaedc Mon Sep 17 00:00:00 2001 From: Jake Date: Tue, 9 Feb 2016 18:50:22 -0600 Subject: [PATCH] Fix Server GetIconUrl string --- src/Discord.Net/Models/Server.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net/Models/Server.cs b/src/Discord.Net/Models/Server.cs index 41ebe0ce8..aadfed242 100644 --- a/src/Discord.Net/Models/Server.cs +++ b/src/Discord.Net/Models/Server.cs @@ -17,7 +17,7 @@ namespace Discord private readonly static Action _cloner = DynamicIL.CreateCopyMethod(); internal static string GetIconUrl(ulong serverId, string iconId) - => iconId != null ? $"{DiscordConfig.ClientAPIUrl}guilds/${serverId}/icons/${iconId}.jpg" : null; + => iconId != null ? $"{DiscordConfig.ClientAPIUrl}guilds/{serverId}/icons/{iconId}.jpg" : null; internal static string GetSplashUrl(ulong serverId, string splashId) => splashId != null ? $"{DiscordConfig.ClientAPIUrl}guilds/{serverId}/splashes/{splashId}.jpg" : null;