Skip to content

Instantly share code, notes, and snippets.

@iamukasa
Last active February 23, 2018 19:00
Show Gist options
  • Save iamukasa/2b481c0c4afc100cfe5cd5aa5c5f8267 to your computer and use it in GitHub Desktop.
Save iamukasa/2b481c0c4afc100cfe5cd5aa5c5f8267 to your computer and use it in GitHub Desktop.
Bot to to troll Nurucoin Influencers on twitter
consumer_key=''
consumer_secret =''
access_token = ''
access_token_secret = '"
import tweepy
from time import sleep
from credentials import *
import random
from time import sleep
# Access and authorize our Twitter credentials from credentials.py
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
api = tweepy.API(auth)
output=[" dumbasses pushing NuruCoin but don't know what blockchain is. #NuruCoinIsAScam",
" that is not how an ICO works #NuruCoinIsAScam",
" how come you are selling coins not tokens in an ICO #NurucoinIsAScam",
" you dont have the necessary skill to build an actual crypto #NurucoinIsAScam",
" how come you have normal gateways to take ico payments #NurucoinIsAScam",
" where is your whitepaper #NurucoinIsAScam",
" show us your repo #NurucoinIsAScam",
" no escrow account #NurucoinISAScam"]
reply= random.choice(output)
B="#NuruCoinSale"
new_tweets = api.search(q =B,count=200)
for s in new_tweets:
i=0
sn = s.user.screen_name
m = "@"+sn+reply+ str(i)
s = api.update_status(m, s.id)
i=i+1
sleep(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment