【发布时间】:2021-01-31 19:59:10
【问题描述】:
我对 python 很陌生,搜索了https://discordpy.readthedocs.io/en/latest/ 并没有找到任何类似的选项。 有人可以为我写一个代码吗? 这就是我所做的:
import discord
from discord.ext import commands
bot = commands.Bot(command_prefix = '.')
@bot.event
async def on_ready():
print('The bot is ready!')
bot.run('TOKEN')
【问题讨论】:
标签: python discord discord.py