THREAD: Twitch Python Spam Bot
  1. 10-08-2015, 08:22 AM
    Python's Avatar
    Python
    Bebe Snek
    Python's Avatar
    Python
    Bebe Snek
    864
    Posts
    25,567
    Reputation
    Nov 2011
    NextGenUpdate
    Hey Ngu! I thought I would contribute something soooooooo yea

     #!/usr/bin/python
    import socket
    import time
    from random import randint
    import threading

    def joinTwitch(channel, username, oauth):
    try:
    socketz = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    socketz.connect(('irc.twitch.tv', 6667))
    socketz.send('PASS oauth:' + oauth + '
    'Winky Winky
    socketz.send('USER ' + username + ':' + username + '
    'Winky Winky
    socketz.send('NICK ' + username + '
    'Winky Winky
    print socketz.recv(1024)
    socketz.send('JOIN #' + channel + '
    'Winky Winky

    while 1:
    # idk
    socketz.recv(1024)
    socketz.send('PRIVMSG #' + channel + ' :Your Text that You Want To Spam :p
    'Winky Winky
    # limit
    time.sleep(1)
    except:
    time.sleep(10)
    joinTwitch(channel, username, oauth)

    channel = raw_input('Channel to raid:'Winky Winky

    userFile = open('users.txt', 'r'Winky Winky.read()
    userSplit = userFile.split(chr(10))

    for user in userSplit:
    userData = user.split(':'Winky Winky
    username = userData[0]
    oauth = userData[1]

    twitchThread = threading.Thread(target=joinTwitch, args=(channel, username, oauth,))
    twitchThread.start()


    Basically you want to make a new folder! Name is Raid.

    Once you name it raid you will want to put the code above into a .py file and name it raid. then make a new text file and name it users. Then you're going to want to make twitch accounts and get the oath from You must login or register to view this content. once you have the oath you are
    going to want to go into the users folder and have your layout like "account name":Oath key (without the oath part) then once you have the desired accounts you can go and save the users file. Once saved run the raid.py file enter the channel name and watch the magic! I hope someone can find this useful! Oh and later i'm going to release my twitch account creator! But enjoy this release! Peace!

    You must login or register to view this content. Premade setup! (The Accounts inside the folder might be banned)

    You must login or register to view this content. (virus Scan)


    Link to python if you don't have it You must login or register to view this content. This is a auto download by the way. If you on't trust it then go to You must login or register to view this content. and look for Python 2.7.10

    You must login or register to view this content. Kitty for ResistTheSun :p
    Last edited by Python ; 10-10-2015 at 10:17 PM. Reason: Adding in a Warning for the auto download of python 2.7.10

  2. The Following 9 Users Say Thank You to Python For This Useful Post:

    , , , , , , , ,

  3. 10-08-2015, 08:42 AM
    AFG's Avatar
    AFG
    The One and Only
    AFG's Avatar
    AFG
    The One and Only
    840
    Posts
    20,430
    Reputation
    Sep 2012
    NextGenUpdate
    Nice job buddy.
  4. 10-08-2015, 09:29 AM
    Python's Avatar
    Python
    Bebe Snek
    Python's Avatar
    Python
    Bebe Snek
    864
    Posts
    25,567
    Reputation
    Nov 2011
    NextGenUpdate
    Originally Posted by AFG View Post
    Nice job buddy.


    Thanks man! Happy
  5. 10-08-2015, 06:14 PM
    Winter's Avatar
    Winter
    <span style="background:url(http://i.imgur.com/ErUqTqV.gif);font-weight:bold;color:purple;">Purple God</span>
    Winter's Avatar
    Winter
    <span style="background:url(http://i.imgur.com/ErUqTqV.gif);font-weight:bold;color:purple;">Purple God</span>
    1,502
    Posts
    21,608
    Reputation
    Aug 2012
    NextGenUpdate
    It's good to see something released for Python.
  6. 10-08-2015, 06:36 PM
    CuTiXz's Avatar
    CuTiXz
    Climbing up the ladder
    CuTiXz's Avatar
    CuTiXz
    Climbing up the ladder
    432
    Posts
    2,007
    Reputation
    Sep 2014
    NextGenUpdate
    Originally Posted by 1 View Post
    Hey Ngu! I thought I would contribute something soooooooo yea

     #!/usr/bin/python
    import socket
    import time
    from random import randint
    import threading

    def joinTwitch(channel, username, oauth):
    try:
    socketz = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    socketz.connect(('irc.twitch.tv', 6667))
    socketz.send('PASS oauth:' + oauth + '
    'Winky Winky
    socketz.send('USER ' + username + ':' + username + '
    'Winky Winky
    socketz.send('NICK ' + username + '
    'Winky Winky
    print socketz.recv(1024)
    socketz.send('JOIN #' + channel + '
    'Winky Winky

    while 1:
    # idk
    socketz.recv(1024)
    socketz.send('PRIVMSG #' + channel + ' :Your Text that You Want To Spam :p
    'Winky Winky
    # limit
    time.sleep(1)
    except:
    time.sleep(10)
    joinTwitch(channel, username, oauth)

    channel = raw_input('Channel to raid:'Winky Winky

    userFile = open('users.txt', 'r'Winky Winky.read()
    userSplit = userFile.split(chr(10))

    for user in userSplit:
    userData = user.split(':'Winky Winky
    username = userData[0]
    oauth = userData[1]

    twitchThread = threading.Thread(target=joinTwitch, args=(channel, username, oauth,))
    twitchThread.start()


    Basically you want to make a new folder! Name is Raid.

    Once you name it raid you will want to put the code above into a .py file and name it raid. then make a new text file and name it users. Then you're going to want to make twitch accounts and get the oath from You must login or register to view this content. once you have the oath you are
    going to want to go into the users folder and have your layout like "account name":Oath key (without the oath part) then once you have the desired accounts you can go and save the users file. Once saved run the raid.py file enter the channel name and watch the magic! I hope someone can find this useful! Oh and later i'm going to release my twitch account creator! But enjoy this release! Peace!

    You must login or register to view this content. Premade setup! (The Accounts inside the folder might be banned)

    You must login or register to view this content. (virus Scan)


    Link to python if you don't have it You must login or register to view this content.

    You must login or register to view this content. Kitty for ResistTheSun :p


    That kitty tho :wub:
  7. 10-08-2015, 11:40 PM
    Python's Avatar
    Python
    Bebe Snek
    Python's Avatar
    Python
    Bebe Snek
    864
    Posts
    25,567
    Reputation
    Nov 2011
    NextGenUpdate
    Originally Posted by Winter View Post
    It's good to see something released for Python.


    I'm going to be releasing a bunch of tutorials for Python, Php, and Batch! Happy
  8. The Following User Thanked Python For This Useful Post:


  9. 10-09-2015, 01:32 PM
    Mango_Knife's Avatar
    Mango_Knife
    In my man cave
    Mango_Knife's Avatar
    Mango_Knife
    In my man cave
    3,599
    Posts
    38,731
    Reputation
    Sep 2012
    NextGenUpdate
    Originally Posted by 1 View Post
    Hey Ngu! I thought I would contribute something soooooooo yea

     #!/usr/bin/python
    import socket
    import time
    from random import randint
    import threading

    def joinTwitch(channel, username, oauth):
    try:
    socketz = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    socketz.connect(('irc.twitch.tv', 6667))
    socketz.send('PASS oauth:' + oauth + '
    'Winky Winky
    socketz.send('USER ' + username + ':' + username + '
    'Winky Winky
    socketz.send('NICK ' + username + '
    'Winky Winky
    print socketz.recv(1024)
    socketz.send('JOIN #' + channel + '
    'Winky Winky

    while 1:
    # idk
    socketz.recv(1024)
    socketz.send('PRIVMSG #' + channel + ' :Your Text that You Want To Spam :p
    'Winky Winky
    # limit
    time.sleep(1)
    except:
    time.sleep(10)
    joinTwitch(channel, username, oauth)

    channel = raw_input('Channel to raid:'Winky Winky

    userFile = open('users.txt', 'r'Winky Winky.read()
    userSplit = userFile.split(chr(10))

    for user in userSplit:
    userData = user.split(':'Winky Winky
    username = userData[0]
    oauth = userData[1]

    twitchThread = threading.Thread(target=joinTwitch, args=(channel, username, oauth,))
    twitchThread.start()


    Basically you want to make a new folder! Name is Raid.

    Once you name it raid you will want to put the code above into a .py file and name it raid. then make a new text file and name it users. Then you're going to want to make twitch accounts and get the oath from You must login or register to view this content. once you have the oath you are
    going to want to go into the users folder and have your layout like "account name":Oath key (without the oath part) then once you have the desired accounts you can go and save the users file. Once saved run the raid.py file enter the channel name and watch the magic! I hope someone can find this useful! Oh and later i'm going to release my twitch account creator! But enjoy this release! Peace!

    You must login or register to view this content. Premade setup! (The Accounts inside the folder might be banned)

    You must login or register to view this content. (virus Scan)


    Link to python if you don't have it You must login or register to view this content.

    You must login or register to view this content. Kitty for ResistTheSun :p


    Hmm bro
    Why did you released this twice?
    You must login or register to view this content.
  10. 10-09-2015, 11:21 PM
    Specter's Avatar
    Specter
    Pro Memer
    Specter's Avatar
    Specter
    Pro Memer
    920
    Posts
    44,397
    Reputation
    Aug 2012
    NextGenUpdate
    Kind of nice, interesting how twitch packet structures are similar to that of IRC :p
  11. The Following User Thanked Specter For This Useful Post:


  12. 10-10-2015, 10:08 PM
    Slinky's Avatar
    Slinky
    Big Sister
    Slinky's Avatar
    Slinky
    Big Sister
    954
    Posts
    34,618
    Reputation
    Nov 2013
    NextGenUpdate
    Been looking for something like this for ages, thanks so much Happy <3
  13. 10-10-2015, 10:09 PM
    fatasa1's Avatar
    fatasa1
    Banned
    fatasa1's Avatar
    fatasa1
    Banned
    23
    Posts
    70
    Reputation
    Apr 2013
    NextGenUpdate
    Originally Posted by Slinky View Post
    Been looking for something like this for ages, thanks so much Happy <3


    slinky pm me ur skype