Skip to content

kutsaltotem/randymbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@randymbot

@randymbot Telegram bot code

This is the code for the raffle Telegram bot I've built. Enjoy and feel free to reuse!

Installation and local launch

  1. Clone this repo: git clone https://github.com/backmeupplz/randymbot
  2. Launch the mongo database locally
  3. Create .env with the environment variables listed below
  4. Run yarn install in the root folder
  5. Run yarn start

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

Environment variables

  • TOKEN — Telegram bot token
  • USERNAME — Telegram bot username
  • MONGO— URL of the mongo database

Also, please, consider looking at .env.sample.

Continuous integration

Any commit pushed to master gets deployed to @randymbot via CI Ninja.

License

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

About

Randy Marsh raffle Telegram bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%