Skip to content

Discord bot to keep up with free games from Epic Games

License

Notifications You must be signed in to change notification settings

wrrulos/EpicStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EpicStore

Discord bot to keep up with free games from Epic Games



🔧 Installation

# Install Python 3 (https://www.python.org/)

# Clone the repository (Or download it from the web in the "Code button and download zip")
$ git clone https://github.com/wrrulos/MCPTool

# Go into the MCPTool folder
$ cd MCPTool

# Install dependencies 
$ python3 -m pip install -r requirements.txt

Usage

First you must enter the token in the configuration file (settings.json).

Then just put python3 main.py in the terminal

How does it work?

First of all, it should be mentioned that every hour the bot sends a request to the Epic Games API to obtain the games that are free at that moment. Also, save the name of the games in the 'games' section of the data file of all servers. (The latter is done if the current value is different from the previous one)

If the current value (name of the games) is different from the previous one, it sends an announcement to the channel specified by the user.