diff --git a/handlers/regex/runCustomCmd.js b/handlers/regex/runCustomCmd.js index c3313af..4f7d4e7 100644 --- a/handlers/regex/runCustomCmd.js +++ b/handlers/regex/runCustomCmd.js @@ -62,6 +62,11 @@ const runCustomCmdHandler = async (ctx, next) => { reply_to_message_id: getRepliedToId(ctx.message), }; + // Delete !trigger message + await ctx.deleteMessage() + + // How to rework this to allow editing it in the bot? + return ctx[typeToMethod(type)](content, options) .then(({ message_id }) => scheduleDeletion(