Added reference project

This commit is contained in:
RogueException
2016-02-24 19:36:18 -04:00
parent 27d7e9915b
commit 36ea8b8c3a
68 changed files with 1515 additions and 0 deletions

36
ref/DiscordConfig.cs Normal file
View File

@@ -0,0 +1,36 @@
using System;
namespace Discord
{
public class DiscordConfig
{
public const int MaxMessageSize = 2000;
public const string LibName = "Discord.Net";
public static readonly string LibVersion = null;
public const string LibUrl = "https://github.com/RogueException/Discord.Net";
public const string ClientAPIUrl = "https://discordapp.com/api/";
public const string StatusAPIUrl = "https://srhpyqt94yxb.statuspage.io/api/v2/"; //"https://status.discordapp.com/api/v2/";
public const string CDNUrl = "https://cdn.discordapp.com/";
public const string InviteUrl = "https://discord.gg/";
public string AppName { get; set; } = null;
public string AppUrl { get; set; } = null;
public string AppVersion { get; set; } = null;
public LogSeverity LogLevel { get; set; } = LogSeverity.Info;
public int ConnectionTimeout { get; set; } = 30000;
public int ReconnectDelay { get; set; } = 1000;
public int FailedReconnectDelay { get; set; } = 15000;
public bool CacheToken { get; set; } = true;
public int MessageCacheSize { get; set; } = 100;
public bool UsePermissionsCache { get; set; } = true;
public bool EnablePreUpdateEvents { get; set; } = true;
public int LargeThreshold { get; set; } = 250;
public EventHandler<LogMessageEventArgs> LogHandler { get; set; }
public string UserAgent { get; }
}
}