-
I'm using Render to run my bot, and I keep getting an error message that I have the wrong token. The same token seems to work on Replit, and I've already reset the token. I am not using the client secret. My guess is I've declared the token wrong in the secrets tab. The error message seems a bit redundant, but here's the whole thing.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
According to their docs secrets are files stored in From Configuring Environment Variables and Secrets on the secrets image:
Do note that this sort of host is not made for hosting Discord bots, so you may run into other issues similarly to the ones people do on replit. |
Beta Was this translation helpful? Give feedback.
os.getenv()
has a chance to returnNone
if the environment variable could not be found. This is usually due to not properly loading envs in your environment. Check your Render settings again to ensure that you have it loaded