Minor edit
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Discord
|
||||
|
||||
public const string ClientAPIUrl = "https://discordapp.com/api/";
|
||||
public const string StatusAPIUrl = "https://status.discordapp.com/api/v2/";
|
||||
public const string CDNUrl = "https://cdn.discordapp.com";
|
||||
public const string CDNUrl = "https://cdn.discordapp.com/";
|
||||
public const string InviteUrl = "https://discord.gg/";
|
||||
|
||||
//Global
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Discord
|
||||
public sealed class Server
|
||||
{
|
||||
internal static string GetIconUrl(ulong serverId, string iconId)
|
||||
=> iconId != null ? $"{DiscordConfig.CDNUrl}/icons/{serverId}/{iconId}.jpg" : null;
|
||||
=> iconId != null ? $"{DiscordConfig.CDNUrl}icons/{serverId}/{iconId}.jpg" : null;
|
||||
|
||||
private struct Member
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Discord
|
||||
public class User
|
||||
{
|
||||
internal static string GetAvatarUrl(ulong userId, string avatarId)
|
||||
=> avatarId != null ? $"{DiscordConfig.CDNUrl}/avatars/{userId}/{avatarId}.jpg" : null;
|
||||
=> avatarId != null ? $"{DiscordConfig.CDNUrl}avatars/{userId}/{avatarId}.jpg" : null;
|
||||
|
||||
[Flags]
|
||||
private enum VoiceState : byte
|
||||
|
||||
Reference in New Issue
Block a user