仅高级用户可用的 DM 命令

DM command that are only available to premium users

我正在尝试创建一个命令来向提到的用户发送消息。此命令仅适用于高级用户。但是,即使使用此命令的用户是高级用户,我的机器人仍会说 'Oops! This command is only available to premium users.'。我如何使这个命令起作用?

@client.command(aliases=['dm'])
async def message(ctx, member: discord.Member, description):
  description = description
  em=discord.Embed(title="You received a letter..", description=description, color=0xe9a9a9)
  em.set_author(name=f"{ctx.author.name} ━ Message", icon_url=ctx.author.avatar_url)
  em.set_footer(text="DM a Manager to report harrassment")

  if ctx.author.id == "88877713685543985":
    await member.send(embed=em)
    await ctx.send(f"Your message has been delivered to {member.mention}!", embed=em)
    return

  else:
    await ctx.send("Oops! This command is only available to premium users.")
    return

这应该有效 -

if ctx.author.Profile.premium:
    await member.send(embed=em)
    await ctx.send(f"Your message has been delivered to {member.mention}!", embed=em)
    return

else:
    await ctx.send("Oops! This command is only available to premium users.")
    return
async def message(ctx, member: discord.Member, description):
  description = description
  em=discord.Embed(title="You received a letter..", description=description, color=0xe9a9a9)
  em.set_author(name=f"{ctx.author.name} ━ Message", icon_url=ctx.author.avatar_url)
  em.set_footer(text="DM a Manager to report harrassment")

  if ctx.author.id == 848737136855466035:
    await member.send(embed=em)
    await ctx.send(f"Your message has been delivered to {member.mention}!", embed=em)
    return

  else:
    await ctx.send("Oops! This command is only available to premium users.")
    return