Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 870 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 870 Bytes

Alilend Telegram bot

This is the code for the Telegram bot — @alilendbot, that automated news feed about interesting and discount goods from Aliexpress.

Installation and local launch

  1. Clone this repo: git clone https://github.com/Kiku-Reise/alilend
  2. Create .env with the environment variables listed below
  3. Run yarn install in the root folder
  4. Run yarn develop

And you should be good to go! Feel free to fork and submit pull requests. Thanks!

Environment variables

  • TOKEN — Telegram bot token
  • CHANNEL_HANDLE — Handle of the Telegram ad channel
  • CHANNEL_ID — ID of the Telegram ad channel

Bot should be admin at CHANNEL_ID. Also, please, consider looking at .env.sample.

License

MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!