Post: Twitch Python Spam Bot
10-08-2015, 08:22 AM #1
Python
Bebe Snek
(adsbygoogle = window.adsbygoogle || []).push({}); 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

The following 9 users say thank you to Python for this useful post:

Boliberrys, Danny, Jimmy, AFG, ResistTheSun, Kronos, Slinky, Specter, Vince
10-08-2015, 08:42 AM #2
AFG
The One and Only
Nice job buddy.
10-08-2015, 09:29 AM #3
Python
Bebe Snek
Originally posted by AFG View Post
Nice job buddy.


Thanks man! Happy
10-08-2015, 06:14 PM #4
Winter
Purple God
It's good to see something released for Python.
10-08-2015, 06:36 PM #5
CuTiXz
Climbing up the ladder
Originally posted by 1
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:
10-08-2015, 11:40 PM #6
Python
Bebe Snek
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

The following user thanked Python for this useful post:

Winter
10-09-2015, 01:32 PM #7
Mango_Knife
In my man cave
Originally posted by 1
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-09-2015, 11:21 PM #8
Specter
Pro Memer
Kind of nice, interesting how twitch packet structures are similar to that of IRC :p

The following user thanked Specter for this useful post:

Python
10-10-2015, 10:08 PM #9
Slinky
Big Sister
Been looking for something like this for ages, thanks so much Happy <3
10-10-2015, 10:09 PM #10
Originally posted by Slinky View Post
Been looking for something like this for ages, thanks so much Happy <3


slinky pm me ur skype

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo