【发布时间】:2021-12-13 23:55:09
【问题描述】:
@“我的用户名” 无法显示在嵌入中。
@client.command()
async def user(ctx, subcommand, name):
player = osu.fetch_user(username=name)
if subcommand == "stats":
embed = discord.Embed(title=f"osu! stats of {name}")
id = 416651818760929291
embed.set_footer(text=f"Shuka (osu! bot) by <@{id}>", icon_url="https://i.pinimg.com/originals/92/f7/cb/92f7cbba6e1f629f619ad878066ededc.png")
await ctx.send(embed=embed)
【问题讨论】:
标签: python discord.py