Skip to content

Commit

Permalink
hotfix: temporarily add replyWithCopy back
Browse files Browse the repository at this point in the history
  • Loading branch information
MKRhere authored Oct 8, 2023
1 parent 81ce7dc commit 32bc5a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bot/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
};

0 comments on commit 32bc5a6

Please sign in to comment.