Skip to content

Commit

Permalink
Add versioning system & reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverarmor committed Feb 19, 2021
1 parent 91cc42b commit f06c98d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion insta.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f06c98d

Please sign in to comment.