Ask coding questions

← Back to all posts
Getting OAuthException from PrawCore with my reddit bot
HydraTechBot (1)

As the title says, I'm getting an exception with my Reddit bot; I've quadruple-checked that I'm using the right credentials. is there a package that I'm missing that may help me solve this problem, or is it another issue?

Comments
hotnewtop
ZhongRietveld (30)

If you mean that you want to get the Repl username
This is how to do it.

print(os.environ[“REPL_OWNER”])