How do I get someone's repl username in python?
Is there a way for me to get someone's repl username when they press run
on a program?
such as:
from repl import db username = #get the person's username for user in db.keys(): if username.lower() == user: print('That username is already in use!')
How can I do this?
Voters
Buhron
Repl name = REPL_SLUG
Username = REPL_OWNER
RhinoRunner
@Buhron thanks but this post was already answered over a year ago...
zrq
This post REALLY helped!
StudioHawaii
thanks
[deleted]
Let's do a test run. Copy that code and then post it somewhere so I can run it too. If it says XThacker, then it works, if it says RhinoRunner, then it doesn't work. Okay?
[deleted]
@RhinoRunner YAYAYAY for me it says XThacker. AND I pressed the run button. And youuur the owner. It works! :)
RhinoRunner
@XThacker owo thanks!
Good luck!
😃
P.S. for the FNAF2, I love it. But...😔, when BB comes in the vent, you said he won't jumpscare you, he will disable some stuff🔦.
He jumpscared😨 me.
Also, did you jump (from the audio)?
REPL_OWNER
, is it the owner of the repl or is it the person who pressed run??