Discord token is now in an env variable

This commit is contained in:
Paillat
2023-02-28 15:28:14 +01:00
parent a35ce1d4c2
commit 37e931978a
3 changed files with 4 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ from dotenv import load_dotenv
import os
load_dotenv()
perspective_api_key = os.getenv("PERSPECTIVE_API_KEY")
discord_token = os.getenv("DISCORD_TOKEN")
max_uses: int = 400
logging.basicConfig(level=logging.INFO)