1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/main.py

18 lines
317 B
Python

import asyncio
import discord
client = discord.Client()
@client.event
async def on_ready():
print("Connessione riuscita!")
print(client.user.name)
print(client.user.id)
# Get the discord bot token from "discordtoken.txt"
f = open("discordtoken.txt", "r")
token = f.read()
f.close()
client.run(token)