How to make a Spam Bot in 8 lines of code! | Free Coding Tutorial
Text your friend the entire script of Shrek through automated messaging in Python! This works for any social media; WhatsApp, Instagram, Facebook, you name it! 🔔NEW videos, tutorials and projects EVERY week so subscribe and hit the bell button so you don't miss an update!
Disclaimer: This video is for entertainment purposes only and automation can lead you to get banned. Please use this responsibly.
🚨IMPORTANT NOTE - HOW TO FAIL SAFE🚨:
Please watch this 3 minute video on how to abort python and fail-safe in PyAutoGUI. This will stop the file from running.
• How to Fail-Safe in Py...
Downloading and Installing Python (and PyCharm):
• Python Tutorial for Be...
▶️Watch my full Python tutorial course here:
• Python Tutorial for Be...
▶️Watch my Python Projects tutorials playlist here:
• Python Tutorial for Be...
👊🖐✌️Why not teach yourself how to code Rock, Paper, Scissors in Python!
Video here:
• Python Tutorial for Be...
🔗 Social Media Links 🔗
▶️KZread: / @codeofthefuture
📸 Instagram: / codeofthefuture
📱TikTok: / codeofthefuture
📘Facebook: / codeofthefuture
🦜Twitter: / code_ot_future
📝LinkedIn: / code-of-the-future
🌎Website - Features Articles: www.codeofthefuture.com/articles
📂GitHub: github.com/code-of-the-future
💸 Donations 💸
⬇️Any donations are gratefully received & all donations go straight back into this channel!⬇️
ko-fi.com/codeofthefuture
⭐️ Hashtags ⭐️
#CodeOfTheFuture #WomenWhoCode #Python #Coding #Programming #Tutorials
Subscribers - 793
Пікірлер: 159
🚨IMPORTANT NOTE - HOW TO FAIL SAFE🚨: Please watch this 3 minute video on how to abort python and fail-safe in PyAutoGUI. This will stop the file from running. kzread.info/dash/bejne/l3V9rI-hid2_ldI.html
@user-gd8ze3qd7n
Жыл бұрын
hi i have a problem
@user-gd8ze3qd7n
Жыл бұрын
it works but it dosent send
Hello there, first things first: You are making great tutorials and i have learned quite a bit so far and i hope you keep python stuff coming. Second thing: you dont need to have the file you want to access via your script in the same folder, although it makes it a lot less likely to get confused. If you are working with files in other directories you just need to put the path to the file everywhere you want to access this file, so by using the full path like c:\users\folder\file you can access any file on the computer without bothering to may create duplicates
That was awesome!. I'm excited to learn facial recognition and artificial intelligence in general with python! happy new year and good luck for next video
@CodeoftheFuture
3 жыл бұрын
Thank you so much!☺️ happy new year to you too!
Congrats on 1k subscribers 👏
@CodeoftheFuture
3 жыл бұрын
Thank you so much!
hi, instead of using copy-paste from a script, can't you use/ load a movie subtitle file format directly (like *.srt) and use the embebed timetag as a time to send the message ? instead of just a same time interval, it would be an almost random message with a full subtitles of any movie. :D
Thank you for sharing the knowledge!!! Love your work ❤️❤️❤️
@CodeoftheFuture
3 жыл бұрын
Thank you so much!! :)
Bee Movie Script - Dialogue Transcript According to all known laws of aviation, there is no way a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway because bees don't care what humans think is impossible. Yellow, black. Yellow, black. Yellow, black. Yellow, black. Ooh, black and yellow! Let's shake it up a little. Barry! Breakfast is ready! Ooming! Hang on a second. Hello? - Barry? - Adam? - Oan you believe this is happening? - I can't. I'll pick you up. oh boi it worked
I think this is where the whole 'Binod' thing started. 😂😂😂
@manxome000
2 жыл бұрын
😂😂
Just found these on Instagram and following on KZread now. Am new to coding and your vids are great
@CodeoftheFuture
3 жыл бұрын
That’s awesome! Thank you so much☺️
Gold! Thank you so much :)
How do i get pyautogui in pycharm on windows? sorry, im new to this.
Interesting. Python is really powerful.. Thank you :) !
I'm on windows and i have installed the pyautogui package onto my computer but it won't import to vscode it says no module called pyautogui
Can i make this to do at scheduled time??
I am going to try this for sure
How do you put a timer between the messages?
OMG, This is Awesome!😂I had so much fun!
@CodeoftheFuture
3 жыл бұрын
Aw thank you so much!! I'm so glad!☺️
Loved it 🤩👌🏻
@CodeoftheFuture
3 жыл бұрын
Thank you very much!!
Hy how can we do this on andriod phones wt apps to install and how can we use textedit on phones, can u explain?
You are very talented New sub❤
@CodeoftheFuture
3 жыл бұрын
Thank you so much!!
This is great! Another fun RPA python idea is to use Selenium and pyautogui together! You should explore this in reverse by using Power Automate Desktop or UiPath that are RPA solutions that you can include Python or JS inside.
At first it works well but when i restart my pc it stoped working. 'charmap' codec can't decode byte 0x9d in position 15: character maps to File "D:\New folder\spambot", line 7, in SendMessage for each_line in text: File "D:\New folder\spambot", line 12, in SendMessage()
Wow..it worked Thank you ☺️
You are one beautiful coder.😊
Nice work 👏
@CodeoftheFuture
3 жыл бұрын
Thank you!!
Can u create a bot which can send messages based on response and using what's app web
I can't install package time and pyautogui in window. can you help me? btw, what you install this PyCharm in your mac? Community or Professional?
@CodeoftheFuture
3 жыл бұрын
You might have to pip install to install the modules! Or google how to install modules in windows! I installed PyCharm community ☺️
@evelyn7377
3 жыл бұрын
@@CodeoftheFuture Thank you very much... I will try🥳❤
Can you please teach me how to make a bot that repeatedly makes the same comment on Quora?
When i run this it does nothing. Im using Windows and Python shows me no error. Can someone help me?
i have a little problem i cant install pyautogui its not showing pycharm option for me:(
I've seen your Google tricks videos on reel from there I straight aways came to this place
@CodeoftheFuture
3 жыл бұрын
That's amazing, thank you!
When i press run, it runs for .005 seconds and then stops right away
Love from India ♥️ really asome 🥳🥳🥳 a fresh start ahead 💗💫in 2021
thank you!
if anyone can help i will apricate it every time I press run it just goes for a second and a message saying that process finished with exit code 0 and it does not send anything
@CodeoftheFuture
3 жыл бұрын
I think you need to grant access to your laptop for it to work! :)
Literally Love It❤️. But How Can We Create A Text File In Windows? Can we Use Notepad For That Stuff?
@CodeoftheFuture
3 жыл бұрын
Thank you so much!! This article might help: www.groovypost.com/howto/quickly-create-new-blank-text-file-windows-mac-linux/#:~:text=Microsoft%20provides%20a%20way%20of,default%20name%2C%20New%20Text%20Document.
@mmaarrtthhaa
3 жыл бұрын
@@CodeoftheFuture Sure I'll Check it out. Btw thanks Ellie
@CodeoftheFuture
3 жыл бұрын
@@mmaarrtthhaa no problem at all, happy to help! :)
how do i get the automated_messaging bit in the top right corner? (i have no clue about coding at all, this is very new to me). It says "main" for me in the top corner and when I run the script, it sends: { tf1\ansi\ansicpg1252\cocoartf2580 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl; ed255\green255\blue255;} {*\expandedcolortbl;;} and so on. I don't know how to fix this😭
@CodeoftheFuture
3 жыл бұрын
You're reading an RTF (Rich Text Format) document! For this to work you need your text file as .txt as I explained in the earlier part of the video. I think that should solve your problem! :)
Hlo i liked this video but I'm a windows user can u pls redo this video fully in a windows laptop.... Also pls tell how to setup pyautogui in pycharm I'm having a hard time doing it.... Hope u will help....
Really loved it to know about py auto GUI
@CodeoftheFuture
3 жыл бұрын
Stay tuned!
@akshaygaidhane8212
3 жыл бұрын
Yeah !!! Excited -
I tried this on messenger and each line was sent twice or else the whole text was sent in one message as many times as the number of lines read in the file hahaha maybe it's an issue with messenger (it worked on notepad), super cool though!
will this code run without time module coz my time module is not installing occur with an erro r
@CodeoftheFuture
3 жыл бұрын
it will but the typing will occur straight away! You'll just have to swipe really fast😂
How can I do following spam bot?
i am on windows and i dont know how to inport pyautogui
great video to spam on youtube live chat and to get in the sight of nightbots
When I run it, it automatically finishes the process can anyone help me?
@_________________________nikki
3 жыл бұрын
same
this is not working for me it shows Traceback (most recent call last): can someone please help
cool!
Thanks alot
if you are still alive, i want to ask 2 questions: question 1: how do you send the whole thing at once. not like each line, the whole thing. question 2: how do you make it loop i would be so happy if you answer
@CodeoftheFuture
3 жыл бұрын
I'll look into it and create a video explaining how you can do both of those things! :)
@MMT--Games
3 жыл бұрын
@@CodeoftheFuture ok, thank you very much! :)
very cool :)
U are just awesome🤩🤩😍😍
Hi am interested in coding but I don't know how could I start
@CodeoftheFuture
3 жыл бұрын
If you go onto my playlists there is a playlist called 'python for beginners' which teaches you the programming language python from the very beginning!! Hope it helps :)
@alwinsonnetjoseph6927
3 жыл бұрын
@@CodeoftheFuture thank you
thank you, i would like to learn how to make comments bot for any website that i choose! i would be very thankful if anyone can give me idea
it keeps saying "Error occurred when installing package" when i try to install Time. someone please help. Edit: Nevermind i apparently had it installed already. Great Vid 👍
Fun!
thank you so much
@loveyourself9701
3 жыл бұрын
Hello you are from
@loveyourself9701
3 жыл бұрын
Answer me as soon as possible
how should i create text file in windows
@CodeoftheFuture
3 жыл бұрын
This might help! www.computerhope.com/issues/ch001359.htm
Any one can say that how to give access in Windows 😒plz
I'm not able to install the pyautogui... I've sent you the screenshot of it to your Insta please check it and if possible tell how can i get it..no hurry though.. Ik u must be very busy yourself.. Great Tutorials by the way.. Please keep up the good work☺️☺️
@CodeoftheFuture
3 жыл бұрын
Just replied! ☺️
Op video love it New subscriber My friends soumil malik gave me this link
@CodeoftheFuture
3 жыл бұрын
Thank you so much!! Soumil Malik has been my supporter since day 1!! Appreciate your support so much💛
It's amazing...... I tried this on my python...... It's showing FileNotFoundError....... Can you please tell me where I should save the text file
@CodeoftheFuture
3 жыл бұрын
You need to save the text file in the same folder as the python file!! That way it will work :)
Followed your instructions ,and still doesn't work . I gave the permission and everything . Process is finished but in 1 sec with exit code 0
@CodeoftheFuture
2 жыл бұрын
It might be that you haven’t given your computer access to use your screen. It’s worth checking that out!
@kresimirrajic6822
2 жыл бұрын
@@CodeoftheFuture been there done that :) thanks for quick response , now it types the text but doesnt send it word for word just writes the whole txt and then sends
@CodeoftheFuture
2 жыл бұрын
@@kresimirrajic6822 I recovered the spam bot in this short 3 minute video, this might help! Also remember to have line breaks in your text :) kzread.info/dash/bejne/l3V9rI-hid2_ldI.html
It worked mam and now I got blocked from two of my frnds😂😂😂
@CodeoftheFuture
3 жыл бұрын
Hahaha I did say to use it responsibly!🤪😂
can u just give an idea how to make the program exit in middle of the text bot working so that my mac doest go bananas😂
@CodeoftheFuture
3 жыл бұрын
Hahaha I had the same issue! I found the best solution was having the app you're using to spam someone and pycharm next to each other on your desktop. Then you can hovver over the stop button in pycharm and click twice really quickly to stop it. You might end up with some of the text file written in your pycharm code but if you do it quickly enough it'll only be a couple of words! Then just delete those words from the python file so it's ready to run again. Either that or when the python logo pops up on your dashboard when the program is running, you can left click and click force quit! They were the most efficient ways for me anyway!! :)
@PriyanshuGupta-st2xk
3 жыл бұрын
@@CodeoftheFuture Ya i did the same by quitting the python from docks! btw thnx and if i get any way of stopping i will definately reach out to u coz if u click the wrong thing then 😂
@CodeoftheFuture
3 жыл бұрын
@@PriyanshuGupta-st2xk awesome! Hahha i'll also look for a solution in the meantime! 😂
cool
{Man} Once upon a time there was a lovely princess. But she had an enchantment upon her of a fearful sort which could only be broken by love's first kiss. She was locked away in a castle guarded by a terrible fire-breathing dragon. Many brave knigts had attempted to free her from this dreadful prison, but non prevailed. She waited in the dragon's keep in the highest room of the tallest tower for her true love and true love's first kiss. {Laughing} Like that's ever gonna happen. {Paper Rusting, Toilet Flushes} What a load of - Somebody once told me the world is gona rollme I ain't the sharpest tol in the shed She was lookin' kind of dumb with herfinger and her thumb In the shape of an "L" on her forehead The years start comin' and they don't stop comin' Fed to the rules and hit the ground runnin' Didn't make sense not to live for fun Your brain gets smart but your head gets dumb So much to do so much to see So what's wrong with takin' the backstreets You'l never know if you don't go You'l never shine if you don't glow Hey, now You're an all-star Get your game on, go play Hey, now You're a rock star Get the show on, get paid And all that glitters is gold Only shootin' stars break the mold It's a cool place and they say it gets colder You're bundled up now but wait till you get older But he meteor men beg to differ Judging by the hole in the satellite picture The ice we skate is getin' pretty thin The water's getting warm so you might as well swim My world's on fire How 'bout yours That's the way I like it and I'll never get bored Hey, now, you're an al-star
Will it work on windows??
@CodeoftheFuture
3 жыл бұрын
Yes! You’ll just have to use a different feature than iMessage! Facebook or WhatsApp are great 🤪
@pranavsuryakantsatardekar5333
3 жыл бұрын
@@CodeoftheFuture it is not working... I followed every step, all coding inputs are same but when I run and move on the whatsapp or facebook, nothing happen. Please tell me what can I do..
@CodeoftheFuture
3 жыл бұрын
@@pranavsuryakantsatardekar5333 It might be allowing access to your screen. Have a look in your privacy settings and see if PyCharm has access to your screen. I had the same problem to begin with! Google how to give PyCharm access to your screen and follow the steps and that should work!
@raghav869
3 жыл бұрын
@@CodeoftheFuture i can not find any such settings
Please tell how to do the same on Whatsapp ??
@CodeoftheFuture
3 жыл бұрын
Of course! When you run the code in this tutorial, you will click where you want the text to start writing. So I've used an example with both iMessage and notes! All you have to do is log into your WhatsApp account, open the message to the person you want to prank. Then run the python code and move onto the screen with your WhatsApp on :) hope that makes sense!!
@raghav869
3 жыл бұрын
@@CodeoftheFuture Thank you so much .. I will try
Me looking at everything carefully but still not getting what I got wrong
@CodeoftheFuture
3 жыл бұрын
Is there any way I could help? A lot of people don't grant access to their computer which means pyautogui can't access your screen to type so that could be it! You can always copy the code from my github here: github.com/code-of-the-future/Automated-Messaging
@zhaotinghu8951
2 жыл бұрын
@@CodeoftheFuture i couldnt download the modules of time and sleep
saw this on insta
CAN U HELP ME IN CODING😭😭😭
THEY WATCH
hat was amazing but i want to do it with more speed and with spam bots in a chatroom for example in chatkaro.in
The spam bot were go and listen a bought to change the figure above show u ain't go had to engage with yt engine light and conclusion be attack to hack
@CodeoftheFuture
3 жыл бұрын
I’m not quite sure I understand what you mean?
spammer is good
Ayo
When I search for the libraries the computer says "nothing to show" ahh needed to deinstall anaconda
i am trolling my freind
Hi i am from India help me
ds
thanks more one sub more one like
You are so beautiful
thanks a lot
cool!
@CodeoftheFuture
2 жыл бұрын
Thank you!!
THEY WATCH
THEY WATCH