Testing telegram bot for fun
- Create a
.env
file and copy content from.env.example
- Place your Telegram App Token value in
BOT_TOKEN
variable,APP_URL
- Use
FILTER_ENABLED=true
to enable filters, else keep it null - Run
npm run start
-
Start bot
/start
-
Creates a filter. (ie: /mkfilter Hello world )
/mkfilter <filterWord> <..Responses>
-
Remove a filter
/rmfilter <filterWord>
-
Show available filters
/shfilters
-
Remove all filters ( Group Admins only)
/rmfilters
and the most important one :)
/cat
- sends a random cat picture