Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 675 Bytes

readme.md

File metadata and controls

16 lines (11 loc) · 675 Bytes

UCSR Bot

A telegram bot for tracking how many times each player won a hltv fantasy for csgo tournaments.

Requirements

This bot requires deno runtime to run.

Local Development

  1. You need PostgreSQL database running somewhere (e.g. on railway)
  2. Get token for your bot from BotFather
  3. Create .env file and put PORT, DATABASE_URL and BOT_TOKEN variables.
  4. Run deno --allow-all src/index.ts
  5. Use ngrok to put your localhost on the internet.
  6. Setup a webhook by requesting https://api.telegram.org/bot<token>/setWebhook?url=<url>?secret=<token>