Exemple #1
0
        public Task ClientErrored(DSharpPlus.EventArgs.ClientErrorEventArgs e)
        {
            Console.ForegroundColor = ConsoleColor.Red;
            Konsol.WriteLine($"--- Hata : {e.Exception.Message} ---");

            return(Task.Delay(0));
        }
Exemple #2
0
 private Task Client_ClientErrored(DSharpPlus.EventArgs.ClientErrorEventArgs e)
 {
     e.Client.DebugLogger.LogMessage(LogLevel.Error, "LoLPickups", $"Exception occured: {e.Exception.GetType()}: {e.Exception.Message}", DateTime.Now);
     return(Task.CompletedTask);
 }