【发布时间】:2019-11-17 11:34:21
【问题描述】:
一年后我重新访问 discord.py,发现 async 显然不可用,现在我正在使用 rewrite 并且不知道我在做什么。我正在尝试发送一个简单的嵌入,但机器人却说:
'<discord.embeds.Embed object at 0x108778288>'
这是我的代码:
@bot.command(pass_context=True)
async def help(ctx):
aiuto = discord.Embed(title="Help", description="being helpful")
await ctx.send(aiuto)
【问题讨论】:
-
出错了。机器人说
标签: python discord discord.py-rewrite