正如标题所示,我试图使我的机器人在执行#start命令时继续删除来自用户的消息。到目前为止,这是我的代码:
if message.content.startswith("#start"):
delete = True
while delete == True:
await bot.delete_message(message)
但它会显示一条错误消息:
discord.errors.NotFound: NOT FOUND (status code: 404): Unknown Message