📅  最后修改于: 2022-03-11 14:46:35.055000             🧑  作者: Mango
import os import discord from dotenv import load_dotenv load_dotenv() TOKEN = client = discord.Client() @client.event async def on_ready(): print(f'{client.user} has connected to Discord!') client.run( )