mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-23 02:17:47 +00:00
WIP
This commit is contained in:
parent
32bc5a684b
commit
8a14af2330
@ -62,6 +62,11 @@ const runCustomCmdHandler = async (ctx, next) => {
|
|||||||
reply_to_message_id: getRepliedToId(ctx.message),
|
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)
|
return ctx[typeToMethod(type)](content, options)
|
||||||
.then(({ message_id }) =>
|
.then(({ message_id }) =>
|
||||||
scheduleDeletion(
|
scheduleDeletion(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user