2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-22 01:49:29 +00:00

hotfix: temporarily add replyWithCopy back

This commit is contained in:
Muthu Kumar 2023-10-09 00:55:57 +05:30 committed by GitHub
parent 81ce7dcb14
commit 32bc5a684b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,4 +76,8 @@ export const extn: ContextExtensions = {
// @ts-expect-error sendMessage is monkeypatched to accept TgHtml
return this.replyWithHTML(html, extra);
},
replyWithCopy(content, options) {
return this.telegram.sendCopy(this.chat.id, content, options);
},
};