This repository has been archived on 2024-05-12. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2024-04-12 12:27:44 +03:00
screenshots #1 #1 Update README.md (#3) 2024-04-12 12:27:44 +03:00
db.json Initial 2022-10-27 00:01:51 +03:00
LICENSE #1 #1 Update README.md (#2) 2024-04-11 12:27:11 +03:00
README.md #1 #1 Update README.md (#3) 2024-04-12 12:27:44 +03:00
run.php Update 'run.php' 2023-01-06 10:48:42 +02:00

EpicGames free game promotions for Telegram

Bot queries EpicGames website once a day for free games. Bot tracks already seen games, so you won't receive telegram notification twice for the same game.

Configuration

clone this repository

setup cronjob for run.php

0 10 * * * /usr/bin/php /opt/scripts/epicgames_promotions_bot/run.php

in run.php configure telegram BOT_KEY and list telegram user ids to send notifications for

$config = [
  'tg_bot_key' => 'BOT_KEY',
  'tg_chat_ids' => [
	'111111111', // user1
	'222222222', // user2
  ],
];