Advertisement
Guest User

Untitled

a guest
Aug 14th, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using IrcDotNet;
  7.  
  8. namespace Tim_s_IRC_bot
  9. {
  10. class Program
  11. {
  12. static void Main(string[] args)
  13. {
  14. using (var client = new IrcDotNet.StandardIrcClient())
  15. {
  16. client.Connect("irc.freenode.net", false, new IrcUserRegistrationInfo()
  17. {
  18. NickName = "testbot1234",
  19. Password = "****",
  20. UserName = "****"
  21. });
  22. client.Channels.Join("#google");
  23.  
  24. Console.ReadLine();
  25.  
  26. };
  27. }
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement