From f06c98dc9bb1c6956e3834f6c45fb6522bee9b58 Mon Sep 17 00:00:00 2001 From: Silverarmor <23619946+Silverarmor@users.noreply.github.com> Date: Sat, 20 Feb 2021 00:38:31 +1300 Subject: [PATCH] Add versioning system & reporting --- insta.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/insta.py b/insta.py index c06241a..87e3166 100644 --- a/insta.py +++ b/insta.py @@ -7,17 +7,23 @@ import time import gspread +"""REMEMBER TO UPDATE ME""" +version = "v1.1.1" + # Initialise Time now = datetime.now() init_time = now.strftime("%H:%M:%S") -init_time_with_day = now.strftime("%Y-%m-%d %H:%M:%S.%f") +init_time_with_day = now.strftime("%Y-%m-%d %H:%M:%S") # Webhook Config webhook = DiscordWebhook(url=discord_webhook_url, avatar_url="https://i.imgur.com/IpIG5TP.png", username="Instagram Statistics Tracker") footer_text = "Silverarmor's Instagram tracking of " + scrape_username embed = DiscordEmbed(title="Initialised", description="Initialised at " + init_time_with_day, color=0xFEFEFE) +embed.set_footer(text=version) +embed.add_embed_field(name="Tracking ", value=scrape_username, inline=False) + # Add embed object to webhook webhook.add_embed(embed) # Send Webhook