I have a Discord bot and I want it to delete a "Loading..." message. However it just deletes the user message for the command
@client.command()
async def run(ctx):
await ctx.send("Loading...")
await ctx.message.delete()
await ctx.send("Loading Complete!")
这引起了许可不足,因为它试图删除用户信息而不是它刚才发出的信息。
我在这里做了什么错误呢?