cool! I like the press enter to update log.
Sorry that i already answered but it turns out i was wrong. The problem lies somewhere in your multi line strings you use as comments. If you delete those, the function works. Check your indentation in there.
Your Superpowers are Telekinesis and Dashing Good Looks! Your Weakness is that you have a Low Self-Esteem
If you create a flask server for the bot, you can make Uptime Robot ping it for you. This will keep it online around 98% of the time, even when it is offline. To create a flask server, you can copy the code:
import flask app = flask.Flask(__name__) @app.route('/') def home(): return 'Hello World!' app.run(host='0.0.0.0', port=6506)
Then, create an account on https://uptimerobot.com/. Select
+ Add New Monitor. The Monitor Type needs to be
Https (s). Enter whatever you want as the friendly name. For the Url, copy the url that is shown at the top of the white window above the terminal. It should look something like
https://replname.username.repl.co. If you want the bot to be online as much as possible, keep the monitoring interval as 5 minutes. In the
Select "Alert Contacts To Notify", select your email address. Click
Create Monitor, the exit out of the site. You can now try closing your program, and interact with your discord bot.
If you found this helpful, please mark it as the answer. Thanks!
In addition, the other problem with the
prices['ABC'] is that there is no ABC value in the dictionary. The only one that exists is
You would have to use
float(). An integer is a whole number, so it cannot have a decimal point, and the
int() would not work. And by the way,
int() is not actually a function. It is a class, pre-defined by python.
Please upvote if this was helpful in any way!
That would actually be really cool. The replit team should allow you to make your own, custom 404 pages.
Sharing on discord...
I prefer the repls page. I don't really like the tutorials at the bottom, that appear every time. In addition, I don't like the introduce yourself.
Hurray! I posted 4 posts before anybody put a single one.
Best part: Multiplayer, Talk (Other than the point of the web site, these are the best extra parts)
New Features: Persistent multiplayer, subscribing to people, and better file writing!