KEEP_ALIVE WEBSITE CODE: from flask import Flask from threading import Thread app = Flask('') @app.route('/') def home(): return "Hello. I am alive!" def run(): app.run(host='0.0.0.0',port=8080) def keep_alive(): t = Thread(target=run) t.start()
@mons7rata3 жыл бұрын
It works :) subbed to your channel. Thanks
@neelbanga3 жыл бұрын
Tysm!! Glad to help!
@flow53263 жыл бұрын
deserves more subs tbh
@neelbanga3 жыл бұрын
Thank you :) let’s hope that happens!
@trioret83042 жыл бұрын
thank you so much kid . I will share vid
@neelbanga2 жыл бұрын
No problem. Thank you!
@loleroneo24962 жыл бұрын
for a small youtuber, this was very surprising
@neelbanga2 жыл бұрын
Thanks! I’ve moved on from discord.py tutorials and am now going to be making more devlog/entertainment tech videos so if you’d like to subscribe to see what’s next, that would be great
@loleroneo24962 жыл бұрын
@@neelbanga good luck with that! Hope it goes well
@neelbanga3 жыл бұрын
Important note, if you want your token to be private (which you should), at 2:22, delete your bot.run() line and replace it with, bot.run(token)
@jjhoffy Жыл бұрын
It worked really well until apparently I got this massive red text error, nothing was wrong with the code but I searched it up and apparently it was sending too many requests to discord so it got rate limited and stopped running, I can re-run it from repl but I have to wait a couple of hours, is there any way around this? I can't think of what could be causing it, I have a sleep function for auto messages so I am pretty sure its not that, what do you think?
@treborthefox9064 Жыл бұрын
it worked ty so much
@neelbanga Жыл бұрын
No problem, it would mean a lot if you could check out the newer shorts
@LalluAnimation3 жыл бұрын
Great tutorial, mate 😀 Keep up the hardwork
@neelbanga3 жыл бұрын
Thank you so much!
@thebutter55243 жыл бұрын
Hey!!!! Its me, The Butter again! I'm back at your channel to check on your progress as a content creator. You seem to be doing great!! 123 subscribers already! Here's my challenge - from one stick of butter to a genius. 1,000 subscribers by the end of the year. Ill be back in another month to say hi! Stay safe, and keep up the hard work The Butter.
@neelbanga3 жыл бұрын
Thank you for the kind words! Let's try and get to 1,000 by the end of the year!!
@vmc103 жыл бұрын
Bro, thank you so much!!!!!!!!!!!! Keep it up!!!
@neelbanga3 жыл бұрын
I’m really glad you enjoyed it, thank you for watching!!
@dp35873 жыл бұрын
Really good tutorial! Keep it up, man
@neelbanga3 жыл бұрын
Thanks!!
@lordprinter85863 жыл бұрын
It's work and it's very cool
@neelbanga3 жыл бұрын
Tysm! Like if you liked!
@dmitryg96133 жыл бұрын
Very talented guy🥇
@neelbanga3 жыл бұрын
Thank you so much!!! That means a lot!
@3w4n862 жыл бұрын
Very helpful 👍
@neelbanga2 жыл бұрын
Thanks, be sure to check out some newer content
@DanFMN3 жыл бұрын
Keep up the good work!
@neelbanga3 жыл бұрын
Thank you so much!!! That means a lot from a big KZbinr like you!!
@user-xf7mu7ub9d Жыл бұрын
You should upload more frequently
@neelbanga Жыл бұрын
I’m posting two long form videos soon.
@liljaso3 жыл бұрын
Great Video. i just had one question.. in the start u copied the code from i assume a downloaded IDE application and then went to repl.it to keep it online 24/7. So, my question is, if i want to add more code to my bot, will i have to code it in repl.it or my downloaded IDE app now? cuz i prefer my downloaded one, i dont rly want to use repl.it, all i wanted was to keep my bot on 24/7. thnx :)
@liljaso3 жыл бұрын
yea i just tested this, i added a command in my downloaded IDE and then closed it then i went to discord and the command didnt work... this means ill have to code using repl.it now, which i dont want to do. if i wanted to code using repl.it i wouldnt need this video cuz i already know a very similar way of keeping the bot on 24/7. If you know a way to keep bot online 24/7 using your downloaded IDE then lmk, i aint using repl.it ty to anyone reading this rn. Good Day
@neelbanga3 жыл бұрын
I’d recommend using ur downloaded IDE then just pasting the code to replit
@liljaso3 жыл бұрын
That doesnt make sense at all. why would i code on my downloaded IDE and paste it on repl.it. might as well do it on repl.it only.. whats the use of the downloaded IDE in that case, if repl.it is actually being used? the downloaded IDE is pretty much useless.
@neelbanga3 жыл бұрын
Well then just code on replit, I don’t really like doing that so I copy/paste
@JcHammez2 жыл бұрын
I am confused as to why you didn't replace the actual argument of bot.run with the variable token?
@neelbanga2 жыл бұрын
Yes…that was a mistake. I made this a while back.
@aymancassim89443 жыл бұрын
Heyy bro really nice channel Im glad I came across
@neelbanga3 жыл бұрын
Thanks!! That means a lot, I work really hard on these videos and the fact that you went out of your way to say something nice really means a lot. Thank you!
@TheXBro2 жыл бұрын
IS there a way to keep code GO online 24/7?
@neelbanga2 жыл бұрын
Yeah the same method should work. You just need to create a GO website
@TheXBro2 жыл бұрын
@@neelbanga Hey can you help me. I made the web server but i don't know how to import it into main, so it runs both on one command
@neelbanga2 жыл бұрын
@@TheXBro I’m not too familiar with go. Why don’t you join our discord server where we can help you better
@notfileexplorer Жыл бұрын
Why does my code not work
@real_yoplayer13 жыл бұрын
I thought you will use replit .
@neelbanga3 жыл бұрын
I did....
@real_yoplayer13 жыл бұрын
@@neelbanga Ya I was saying that I thought you will use replit and you did.
@neelbanga3 жыл бұрын
Ohh okay…congratulations then lol
@real_yoplayer13 жыл бұрын
@@neelbanga lol remember me I'm the guy frm discord and replit.