Skip to content
Sign upLog in
Profile icon

Zennara

hacker
@KeaganLandfried
Computer Science Student | Software and Game Developer
twitter
GitHub
YouTube
website
Repls
Community
KeaganLandfried
KeaganLandfried
shared a Post
1 year ago
2
Discord.py API Limits on Bots Hosted on Repl.it
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
ZennsInvites-1
Python
Alphawastakenn
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 lately1 year ago
Coder100
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 lol1 year ago
KeaganLandfried
KeaganLandfried
shared a Post
1 year ago
1
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
ZennsInvites-1
Python
Coder100
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!1 year ago
KeaganLandfried
KeaganLandfried
shared a Post
2 years ago
1
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
ZennsInvites-1
Python
KeaganLandfried
KeaganLandfried
shared a Post
2 years ago
1
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
ZennsInvites-1
Python
ObiVibKenobi
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
KeaganLandfried
KeaganLandfried
shared a Post
2 years ago
1
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
ZennsInvites-1
Python
Coder100
Coder100
I recommend you use the repl.it database so then the database actually saves. http://docs.repl.it/misc/database2 years ago
Coder100
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
KeaganLandfried
KeaganLandfried
shared a Post
2 years ago
1
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
ZennsInvites-1
Python
RYANTADIPARTHI
RYANTADIPARTHI
It's probably because you're not hosting it properly.2 years ago
KeaganLandfried
KeaganLandfried
shared a Post
2 years ago
1
`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
Javascript Array W2
HTML, CSS, JS
CodingCactus
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?2 years ago
KeaganLandfried
KeaganLandfried
shared a Post
3 years ago
1
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
Calculator
Python
KeaganLandfried
KeaganLandfried
After some searching, I found the answer. TextBox1.Text = New DataTable().Compute(TextBox.Text, Nothing)3 years ago
Vandesm14
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
KeaganLandfried
KeaganLandfried
shared a Post
3 years ago
1
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
String Sort
C++
KeaganLandfried
KeaganLandfried
shared a Post
3 years ago
1
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
theangryepicbanana
I belive Polygott repls (which zave already linked) have the VB compiler (vbc)3 years ago
Zavexeon
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
KeaganLandfried
KeaganLandfried
shared a Post
3 years ago
1
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
Tic-Tac-Toe
C++
mwilki7
mwilki7
did not initialize move3 years ago
KeaganLandfried
KeaganLandfried
shared a Post
3 years ago
7
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
Test Scores
C++
SaurabhBadenkal
SaurabhBadenkal
its deprecated as its not safe can switch to fgets(name[i], 50 , stdin); which also needs #include3 years ago
Highwayman
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
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
KeaganLandfried
KeaganLandfried
shared a Post
3 years ago
1
Just wanted to share my random phone number generator. I made it for Programming 1 in high school.
Random Phone Number
C++
KeaganLandfried
KeaganLandfried
shared a Post
3 years ago
2
I just need some suggestions for this text-based game I am making. Any thought will be greatly appreciated! Thanks!
Evolution 0.1.2.0
Python
katyadee
katyadee
You should edit the title so it includes your question :)3 years ago
Pythonier
Pythonier
You should post this in ask btw. Since you are asking a question.3 years ago
Pythonier
Pythonier
You could have the player collect items, and in a boss battle they will need certain items to win.3 years ago
KeaganLandfried
KeaganLandfried
shared a Post
4 years ago
14
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
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
ash15khng
As far as I know, I don't think so, but you should suggest it on the feedback page.4 years ago