remove obsoleted profile page; update features/logging, remove it from stub; update logging example
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user