daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import socket, string
  2.  
  3. HOST = "irc.twitch.tv"
  4. NICK = "gabelle"
  5. PORT = 6667
  6. PASS = "oauth:u155m61bo1dfq**************"
  7. readbuffer = ""
  8. MODT = False
  9.  
  10. s = socket.socket()
  11. s.connect((HOST, PORT))
  12. s.send("PASS " + PASS + "\r\n")
  13. s.send("NICK " + NICK + "\r\n")
  14. s.send("JOIN #gabelle \r\n")
  15.  
  16.  
  17. def Send_message(message):
  18.     s.send("PRIVMSG #gabelle :" + message + "\r\n")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top