mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-22 18:08:51 +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),
|
||||
};
|
||||
|
||||
// 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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user