mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -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);
|
||||
}
|
||||
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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue