From b2beb77ae1cff4a3fd7d66b1a97a269a7e74063a Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Mon, 6 Jun 2022 23:48:59 +0200 Subject: [PATCH] [cmd](undo) remove the message --- commands/message/core/undo.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/commands/message/core/undo.js b/commands/message/core/undo.js index d6db24e..cd3d28e 100644 --- a/commands/message/core/undo.js +++ b/commands/message/core/undo.js @@ -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) }