我正在尝试修改现有消息的嵌入,如何从消息中删除或删除时间戳
@commands.command()
async def remove_timestamp(self, ctx, msg: discord.MessageConverter):
embed = msg.embeds[0]
embed.timestamp = None #error raised here
await msg.edit(embed=embed)
当我尝试更新嵌入的颜色或更改时间戳时,类似的代码有效,但删除时间戳会引发错误