telegraf-autoquote
v1.0.1
Published
A Plugin to Make Your Bot Auto Quote Every Message=
Downloads
1
Maintainers
Readme
Telegraf AutoQuote
This plugin can help you to make your bot reply to every message.
Installation
You can install this plugin in any Telegraf Bot.
Install the NPM Plugin
npm i telegraf-autoquote
#or
yarn add telegraf-autoquote
Import and Use in code
import { autoQuote } from "telegraf-autoquote"
bot.use(autoQuote())
Advanced Installation
If you want the bot to do autoquote in a particular filter like message("photo")
or in any other filter. You can do it by doing :
import { autoQuote } from "telegraf-autoquote"
import { message } from "telegraf/filters"
bot.on("photo",autoQuote()); // old style
bot.on(message("photo"),autoQuote()); // recommended
Help
You can open a Issue for ressolving your problem
Contribution
You can contribute to this plugin by just opening a pull request.