Skip to content

kiku-jw/alilend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!