mirror of
https://github.com/kaaninchen/Gleiswechsel.git
synced 2026-07-21 19:52:47 +00:00
14 lines
348 B
Python
14 lines
348 B
Python
import discord
|
|
from config import config
|
|
|
|
bot = discord.Bot(intents=discord.Intents.all())
|
|
|
|
@bot.event
|
|
async def on_ready():
|
|
await bot.change_presence(activity=discord.Game(name = "Casino"))
|
|
print(f"{bot.user} ist online")
|
|
|
|
try:
|
|
bot.run(config['token'])
|
|
except:
|
|
print("An error occured while parsing the token (check the config!)") |