Skip to content
Snippets Groups Projects
Commit cc00c93a authored by Dnns's avatar Dnns
Browse files

Fixed activity. Will now be loaded from .env file

parent 3081719f
Branches
No related tags found
No related merge requests found
......@@ -7,9 +7,9 @@ from dotenv import load_dotenv
load_dotenv()
TOKEN = os.getenv('DISCORD_TOKEN')
GUILD = int(os.getenv('DISCORD_GUILD'))
ACTIVITY = os.getenv('DISCORD_ACTIVITY')
PIN_EMOJI = "📌"
activity = discord.Game("ein Test-Rollenspiel")
client = discord.Client(activity=activity)
client = discord.Client(activity=discord.Game(ACTIVITY))
# Returns an guild object, that matches the id specified in GUILD.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment