We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing config.env and need to import load_dotenv from dotenv in variables.py file.
confg.env contains: SPOT_SEEK_BOT_API = "" MUSIC_DATABASE_ID = "" LOG_CHANNEL_ID = "" SPOTIFY_APP_CLIENT_ID = "" SPOTIFY_APP_CLIENT_SECRET = ""
The text was updated successfully, but these errors were encountered:
Dotenv doesn't work. The best alternative is Environ.
Put this in the variables.py file:
import environ environ.Env.read_env('config.env')
bot_api = os.environ['SPOT_SEEK_BOT_API'] database_channel = os.environ['MUSIC_DATABASE_ID'] log_channel_id = os.environ['LOG_CHANNEL_ID'] spotify_client_id = os.environ['SPOTIFY_APP_CLIENT_ID'] spotify_client_secret = os.environ['SPOTIFY_APP_CLIENT_SECRET']
Sorry, something went wrong.
No branches or pull requests
Missing config.env and need to import load_dotenv from dotenv in variables.py file.
confg.env contains:
SPOT_SEEK_BOT_API = ""
MUSIC_DATABASE_ID = ""
LOG_CHANNEL_ID = ""
SPOTIFY_APP_CLIENT_ID = ""
SPOTIFY_APP_CLIENT_SECRET = ""
The text was updated successfully, but these errors were encountered: