Ask coding questions

← Back to all posts
How do I get my repl secrets to be able to login my bot?
h
ehAsuna (0)

The issue is that i have it stored as a secret but it says its not a valid https header can anybody help me please.

Comments
hotnewtop
ehAsuna (0)

@InvisibleOne bro, I did this. If you read what I said, I have already created a repl secret as you show here however the error pops up and tells me that my token is 'not a valid https header' and it won't allow to use client.login

InvisibleOne (2990)

Don't you need to put client.login inside of an async function? @ehAsuna

InvisibleOne (2990)

use the secets manager thingy, it looks like a lock and is on the left side of your screen next to database, package manager and so on.

ehAsuna (0)

@InvisibleOne bruh this makes no sense and i have.

ehAsuna (0)

Yes i changed my token.