Open MisterWapak opened 4 years ago
I just started using it a couple of days ago, you seem to have been using this bot for while :D I'm just curious did you win any giveaways?
Oh yes, I use it for like 2 years now lol I won a lot of things (T-shirt, games on steam, lots and lots of nudes that I don't want :s). Just be sure to set the time of rt per sec at a minimum of 60 sec if you don't want to have your account banned (i have like 3 account ban in 2 years lol).
I've updated the previous ban keyword code. Now you don't have to include every single variation of a word in the ban list, cuz the bot was treating "nude" and "nudes" as different words. that's fixed in the following code which works way better:
in main.py
scroll down to find this line for tweet in searched_tweets:
and just paste this code below it:
`adult= False
for BadWord in config.skip_retweet_tags:
if (tweet.text.lower().find(BadWord) != -1): #if bad word from skip_retweet_tags was found in a tweet
adult = True
if tweet.retweet_count>15: #only retweet if retweet count is more than 15 retweets
if not (adult): #if tweet doesn't include bad words proceed`
make sure to add indentation after the above code.
in config.py
before the retweet_tags list
add this list skip_retweet_tags = ["nude","tits" ,"booty" ,"boobs", "cum"]
you can add the words that you want the bot to skip them.
@OmarAshraf2030 if you make a fork, update the code there, and send me the link maybe i can add it to the official repo
@OmarAshraf2030 if you make a fork, update the code there, and send me the link maybe i can add it to the official repo
I'm new to GitHub 😁, I'll see how to do that fork thing :)
hah no problem. this might help: https://guides.github.com/activities/forking
Is this how the indentation is supposed to be??
@OmarAshraf2030 if you make a fork, update the code there, and send me the link maybe i can add it to the official repo
I'm new to GitHub , I'll see how to do that fork thing :)
@OmarAshraf2030 if you make a fork, update the code there, and send me the link maybe i can add it to the official repo
Here's my fork 😃 https://github.com/ItsOmarKhater/Twitter-Giveaways-Bot What's new?
Is this how the indentation is supposed to be??
@OmarAshraf2030 if you make a fork, update the code there, and send me the link maybe i can add it to the official repo
I'm new to GitHub , I'll see how to do that fork thing :)
Sorry for the late reply! I've added the changes in my fork.
Hello again, I tried your code and the cmd say when I run it: "Global Name 'datetime' is not defined" I don't know if I'm doing something wrong. Hope you can help me :)
Hello again, I tried your code and the cmd say when I run it: "Global Name 'datetime' is not defined" I don't know if I'm doing something wrong. Hope you can help me :)
I forgot to import datetime 😅
in main.py
add this linefrom datetime import datetime, timezone
Hello again, I tried your code and the cmd say when I run it: "Global Name 'datetime' is not defined" I don't know if I'm doing something wrong. Hope you can help me :)
I forgot to import datetime sweat_smile in
main.py
add this linefrom datetime import datetime, timezone
I think there is still some indentation error at line 60. Can you please check?
I think there is still some indentation error at line 60. Can you please check?
Thanks for pointing this out! I fixed it, try it now and tell me if it's working properly!
Is this bot still working? I am doing something wrong but i dont know what, it just closes instantly when i am opening it.
Hello, i love this progam, he work perfectly bu i think you miss 1 option: a ban keyword option. Its could be great because I don't like that my bot RT and follow giveway of nude pics... You can also add a minimum RT count before RT a giveway, that could be great improve If you have time to do that, it will be awesome ! Thanks for your good work, bye :)