mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
[cmd](undo) remove the message
This commit is contained in:
parent
1efb9540e4
commit
b2beb77ae1
1 changed files with 0 additions and 7 deletions
|
@ -38,13 +38,6 @@ module.exports = {
|
||||||
await context.channel.bulkDelete(cmds);
|
await context.channel.bulkDelete(cmds);
|
||||||
}
|
}
|
||||||
if(context.canManage) await context.message.delete()
|
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){
|
}catch(e){
|
||||||
console.log(e)
|
console.log(e)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue