mirror of
https://github.com/michivonah/themepark-alerts.git
synced 2025-12-22 20:36:27 +01:00
16 lines
259 B
Python
16 lines
259 B
Python
import os
|
|
from dotenv import load_dotenv
|
|
import discord
|
|
|
|
load_dotenv()
|
|
|
|
discordToken = os.getenv('DISCORD_TOKEN')
|
|
|
|
client = discord.Client()
|
|
|
|
@client.event
|
|
async def on_ready():
|
|
print(f'{client.user} has connected to Discord!')
|
|
|
|
client.run(discordToken)
|
|
|