remove obsoleted profile page; update features/logging, remove it from stub; update logging example

This commit is contained in:
Christopher F
2016-01-24 12:33:21 -05:00
parent b224add719
commit 938bbe788b
3 changed files with 37 additions and 16 deletions

View File

@@ -3,13 +3,14 @@ class Program
private static DiscordBotClient _client;
static void Main(string[] args)
{
var client = new DiscordClient(new DiscordClientConfig {
//Warning: Debug mode should only be used for identifying problems. It _will_ slow your application down.
LogLevel = LogMessageSeverity.Debug
});
client.LogMessage += (s, e) => Console.WriteLine($"[{e.Severity}] {e.Source}: {e.Message}");
client.Run(async () =>
var client = new DiscordClient(x =>
{
LogLevel = LogSeverity.Info
});
_client.Log.Message += (s, e) => Console.WriteLine($"[{e.Severity}] {e.Source}: {e.Message}");
client.ExecuteAndWait(async () =>
{
await client.Connect("discordtest@email.com", "Password123");
if (!client.Servers.Any())