Computer Science Student | Software and Game Developer
Hey all,
Was wondering if the reason this bot is being banned from the API is my fault or if its possible, (since Discord rate limits off IP), that
Python
Alphawastakenn seeing your code I don't think it's your problem. You don't seem to be abusing the discord API in any way. I believe it's repl.it problem plus I've been having the same problem a lot lately2 years ago
Coder100 No, it's your fault. Repl specifically designed each repl so that they won't interfere with other repls by default.
Blame yourself before you blame repl lol2 years ago
Hey guys, was wondering if I am correct in saing repl.it uses cached data instead of actual data from the database if you have a free version after yo
Python
Coder100 Nope, all the data is stored in an external redis database (citation needed).
In fact, replit doesn't actually remove any more restrictions than what the basic plan does. So you can use it however you want!2 years ago
I am so lost.
datastr(message.guild.id) + str(user.id)] = "5"
print(str(datastr(message.guild.id) + str(user.id)]))
this code returns 0.
Am I doing so
Python
Hey all, was wondering how it'd be possible to achieve dictionary-like entries in a repl.it database. For examples, like-
data"repl" = 9
Heres the p
Python
ObiVibKenobi @KeaganLandfried
I don’t see the problem with what you have. If it doesn’t work, try this I guess:
data[“repl”].update({“second value”: 9})
`2 years ago
Hey all, I've been having this issue with by discord.py bot after their most recent changes to discord.py. Basically, I host my bot on repl.it because
Python
Coder100 I recommend you use the repl.it database so then the database actually saves.
http://docs.repl.it/misc/database2 years ago
Coder100 yes, repl.it runs snapshots to save your file. When you are not on the repl, for security reasons (and maybe also performance reasons), the files don't get saved. So keep going on to your repl every so often.2 years ago
Basically, with Discord's new update to bots, I need to be using discord.py 1.5.1. I can manually install this via pip, and the bot will run fine for
Python
`TypeError: Cannot read property '0' of undefined
at /:14:23`
I'm trying to run a basic array example. The code won't run and I can not find out w
HTML, CSS, JS
CodingCactus I don't know much about js and html, but shouldn't lines 14 - 18 in the html file be inside the js file?3 years ago
I was wondering if this function is somehow available in Visual Basic. I want to take the text from a text box and use evaluate the input like this. A
Python
KeaganLandfried After some searching, I found the answer.
TextBox1.Text = New DataTable().Compute(TextBox.Text, Nothing)3 years ago
Vandesm14 I suggest reading the docs on getting input: https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/inputbox-function3 years ago
Hey, thanks for looking at my post. I need to sort these strings in alphabetical order. I am new to this syntax, and was wondering if anybody knew how
C++
I was just wondering if the language visual basic is on repl.it. I tried looking but could not find it, and I use this language for school programs an
theangryepicbanana I belive Polygott repls (which zave already linked) have the VB compiler (vbc)3 years ago
Zavexeon It's probably possible to get Visual Basic running in a polygott repl, however I'm not sure how to do it.
https://repl.it/languages/polygott
If you are unsure what polygott is, it just follows makefile syntax.3 years ago
I was wondering why line 13 of this code is not running. I'm figuring it is because of the call of the print_board() function on line 12, but I can't
C++
I was wondering why I am producing an error on line 11 of this code. In Microsoft Visual Studio 2010, this code runs fine. However, the gets() stateme
C++
SaurabhBadenkal its deprecated as its not safe
can switch to fgets(name[i], 50 , stdin);
which also needs #include3 years ago
Highwayman This function was actually deprecated at some point I’m pretty sure. Your other compiler is either behind in standards, or just wanted to keep it. Either way it’s not a steady thing to count on any more so use fgets. (fgets is basically used the same way Umbra used it, but now you also pass the FILE stream and the number of chars you wish read.)
If you’re too attached to gets, just make a macro, but don’t depend on gets anymore it’s not viable.3 years ago
UmbraSicaro the gets() function in c++ (template: char* gets(char* str)) is included in the header. Include that, also what goes in the parenthesis of gets() is the output variable, not the specific location you want. You need to use an if statement to call gets() when the location you want comes up. You also need to declare whatever variable you put in the parenthesis as your output variable.3 years ago
Just wanted to share my random phone number generator. I made it for Programming 1 in high school.
C++
I just need some suggestions for this text-based game I am making. Any thought will be greatly appreciated! Thanks!
Python
I am wondering if there is any way to change the font in a python py. I want to change it to a monospace font since the update has messed with my asci
bkettleborough printing a null character can help in some cases like:
print("+---+")
print("|","",cha,"","|")
print("+---+")
to print a character -cha- in a box4 years ago
ash15khng As far as I know, I don't think so, but you should suggest it on the feedback page.4 years ago