Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/namila007/a-telegram-bot
A simple telegram bot. For cat pics, send a msg to '@RandCatPicsBot' on TG
https://github.com/namila007/a-telegram-bot
cat cat-pics filters heroku telegram telegram-bot
Last synced: 27 days ago
JSON representation
A simple telegram bot. For cat pics, send a msg to '@RandCatPicsBot' on TG
- Host: GitHub
- URL: https://github.com/namila007/a-telegram-bot
- Owner: namila007
- License: mit
- Created: 2021-06-02T04:56:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-03T16:04:36.000Z (over 3 years ago)
- Last Synced: 2024-11-15T00:35:00.163Z (3 months ago)
- Topics: cat, cat-pics, filters, heroku, telegram, telegram-bot
- Language: JavaScript
- Homepage: https://telegram-cat-bot-1.herokuapp.com/ping
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram-Bot
Testing telegram bot for fun
## How to Run
1. Create a `.env` file and copy content from `.env.example`
2. Place your **Telegram App Token** value in `BOT_TOKEN` variable, `APP_URL`
3. Use `FILTER_ENABLED=true` to enable filters, else keep it null
4. Run `npm run start`## Commands
### Chat Filter (Auto responses)
1. Start bot
`/start`2. Creates a filter. (ie: /mkfilter Hello world )
`/mkfilter <..Responses>`
3. Remove a filter
`/rmfilter `4. Show available filters
`/shfilters`5. Remove all filters ( Group Admins only)
`/rmfilters`and the most important one :)
### Cat Pics
`/cat` - sends a random cat picture