Browse Source

Fix Server GetIconUrl string

tags/docs-0.9
Jake 9 years ago
parent
commit
e41494d056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/Models/Server.cs

+ 1
- 1
src/Discord.Net/Models/Server.cs View File

@@ -17,7 +17,7 @@ namespace Discord
private readonly static Action<Server, Server> _cloner = DynamicIL.CreateCopyMethod<Server>();

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;



Loading…
Cancel
Save