我正在try 将服务器图标添加到服务器名称旁边,但我不知道如何才能发送我正在谈论的图像 Image of what I would like个 Image of what I'm getting
我的代码是:
@bot.command(name='mc', brief='Displays member count')
async def member_count(ctx):
embed = discord.Embed(
title=f"{ctx.guild.icon} {ctx.guild.name}",
color=discord.Colour(int(0x7889da))
)
embed.add_field(name="Users", value=ctx.guild.member_count, inline=True)
embed.add_field(name="Humans", value=ctx.guild.member_count - len([m for m in ctx.guild.members if not m.bot]), inline=True)
embed.add_field(name="Bots", value=len([m for m in ctx.guild.members if m.bot]), inline=True)
await ctx.send(embed=embed)
我try 在标题中添加服务器图标,但不起作用