📅  最后修改于: 2022-03-11 14:55:48.608000             🧑  作者: Mango
import discord
import asyncio
client = discord.Client
@client.event():
async def on_ready():
print('Online')
client.run('your token') #you get a token if you create a bot on the discord developer page