https://github.com/backmeupplz/randymbot
Randy Marsh raffle Telegram bot
https://github.com/backmeupplz/randymbot
bot raffle telegram telegram-bot
Last synced: 3 months ago
JSON representation
Randy Marsh raffle Telegram bot
- Host: GitHub
- URL: https://github.com/backmeupplz/randymbot
- Owner: backmeupplz
- License: mit
- Created: 2018-08-02T03:01:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-11T19:48:01.000Z (about 1 year ago)
- Last Synced: 2025-04-11T20:39:56.651Z (about 1 year ago)
- Topics: bot, raffle, telegram, telegram-bot
- Language: TypeScript
- Homepage: https://t.me/randymbot
- Size: 1.24 MB
- Stars: 91
- Watchers: 3
- Forks: 42
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://t.me/randymbot)
# [@randymbot](https://t.me/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](https://www.mongodb.com/) locally
3. Create `.env` with the environment variables listed below
4. Run `yarn install` in the root folder
5. Run `yarn distribute`
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](https://github.com/backmeupplz/ci-ninja).
# License
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!