diff --git a/epic_games.ico b/epic_games.ico new file mode 100644 index 0000000..86b9af4 Binary files /dev/null and b/epic_games.ico differ diff --git a/epicgames.png b/epicgames.png deleted file mode 100644 index d9e89e6..0000000 Binary files a/epicgames.png and /dev/null differ diff --git a/index.ico b/index.ico deleted file mode 100644 index d9e89e6..0000000 Binary files a/index.ico and /dev/null differ diff --git a/index.py b/index.py index 4d76950..4cb7a7a 100644 --- a/index.py +++ b/index.py @@ -2,10 +2,11 @@ import requests from win10toast import ToastNotifier +filename = 'epic_games.ico' url = "https://api.plenusbot.xyz/epic_games?country=IT" response = requests.get(url).json() # Title of current games current_games_title = response['currentGames'][0]['title'] toast = ToastNotifier() -toast.show_toast(title="New games!", msg="There is a new game on Epic Games Store " + current_games_title , icon_path="") \ No newline at end of file +toast.show_toast(title="New games!", msg="There is a new game on Epic Games Store " + current_games_title , icon_path=filename,duration=10,threaded=False) \ No newline at end of file