#πŸ”’ python discord bot 24/7

29 messages Β· Page 1 of 1 (latest)

timber harbor
#

so i created python function on vs and when im closing vs bot isnt working anymore , how to do so the discord bot works 24/7

clever pagodaBOT
#

@timber harbor

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

thin saffron
#

You have to host it somewhere

#

Which usually involves paying a service for a server

timber harbor
#

so when i see some online discord bots, from the servers they are mostly on host websites?

timber harbor
#

are there free host

#

?

thin saffron
#

Maybe? But the free ones aren't very reliable usually. Computing and bandwidth aren't free resources

timber harbor
#

i just wanted to make a bot which levels you up and gives you a role after you sent 10 messages, but i dont want a bot which gives xp's just a level up after messages, do you know some bots like these?

distant bobcat
#

you can host for as little as 3 bucks a month, or you could invest in something like a raspberry pi and hook it up somewhere permanently

radiant citrus
# timber harbor are there free host

i feel like i turned into a walking advertisement bc i sayd this so many times but i use oracle cloud free tier gives u 24GB ram and 4OCpu forever (still porb ends if oracle goes bancrupt but its sayd to be forever)

woven arch
#

U can host on replit pretty sure for free

radiant citrus
distant bobcat
woven arch
#

Duh

#

Obviously not expecting a lot of people is gunna use his bot

distant bobcat
woven arch
#

Still tho

timber harbor
radiant citrus
#

u can have afaik only 1 VM on free tier i think

#

and u are on the end of the line aka u got practicly no chance to have ARM cpus

formal monolith
# timber harbor So its free and permanent, arr there some cons?

the cons are

  • it's oracle
  • it's free, so they might yoink the vps from you at any moment without notifying you (and they probably will if they find your activity malicious/disruptive enough. but a discord bot doesn't make much noise so this is unlikely. still, assume the vps is ephemeral and won't be with you for long)
  • the oracle cloud web interface sucks ass
#

oracle provides non-arm instances for free too, but they're limited (plenty for a simple discord bot) and still subject to the above

#

but if you're claiming non-arm free vps you might as well go with GCP (small instance free forever afaik) or AWS (small instance free for 1 year after account creation)

clever pagodaBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.