Discord bot clear command

I would like my bot to delete only two messages but I don’t know what command I have to do for it to do that.

const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
 
await lib.discord.channels['@0.1.1'].messages.destroy({
    message_id: `${context.params.event.message.id}`,
    channel_id: `${context.params.event.message.channel_id}`
  });