[cmd](undo) remove the message

This commit is contained in:
derpystuff 2022-06-06 23:48:59 +02:00
parent 1efb9540e4
commit b2beb77ae1

View file

@ -38,13 +38,6 @@ module.exports = {
await context.channel.bulkDelete(cmds);
}
if(context.canManage) await context.message.delete()
let resp = await editOrReply(context, {
"content": `${icon("success_simple")} Deleted ${highlight(found)} command replies.`
})
setTimeout(async () => {
await context.channel.deleteMessage(resp.id)
}, 5000)
}catch(e){
console.log(e)
}