Beispiel #1
0
 public static void debugOutputCallback(object source, IrcDebugMessageEventArgs args)
 {
     Debug.WriteLine(args.Type + " | " + args.Message);
     if (args.Message == "STARTING LISTENER!")
     {
         irc.SendMessageToChannel("INFO " + accForm.tmpUsername, "NickServ"); // send a request to see if our username is registered
     }
 }
Beispiel #2
0
 public static void debugOutputCallback(object source, IrcDebugMessageEventArgs args)
 {
     Console.WriteLine("===============IRC DEBUG MESSAGE===============");
     Console.WriteLine(args.Type + "|" + args.Message);
     Console.WriteLine("===============END IRC DEBUG MESSAGE===============");
 }
Beispiel #3
0
 private void OnMessageDebug(object sender, IrcDebugMessageEventArgs args)
 {
     DebugHandler.TraceMessage("OnMessageDebug Called.", DebugSource.TASK, DebugType.ENTRY_EXIT);
     DebugHandler.TraceMessage(args.Type + " || " + args.Message, DebugSource.TASK, DebugType.INFO);
 }
Beispiel #4
0
 /// <summary>
 /// Event for receiving debug messages from the IrcClient
 /// </summary>
 /// <param name="source">source class</param>
 /// <param name="args">IrcDebugMessageEventArgs contains debug message and type</param>
 public void OnIrcDebugMessage(object source, IrcDebugMessageEventArgs args)
 {
     OnIrcDebugMessageLocal(args.Type, args.Message);
 }