Skip to content

Commit

Permalink
Fix embed fields
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLua authored Jul 3, 2024
1 parent 1cc92f4 commit 3a870cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/instagram_to_discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ def send_to_discord(post_url, image_url, author_name, author_icon_url, post_desc
"embeds": [
{
"description": post_description,
"color": None,
"color": 13500529,
"author": {
"name": author_name,
"url": f"https://www.instagram.com/{author_name}",
"icon_url": author_icon_url
},
"footer": {
"text": "Instagram",
"icon_url": "https://discohook.org/static/discord-avatar.png"
"icon_url": "https://images-ext-1.discordapp.net/external/C6jCIKlXguRhfmSp6USkbWsS11fnsbBgMXiclR2R4ps/https/www.instagram.com/static/images/ico/favicon-192.png/68d99ba29cc8.png"
},
"image": {
"url": image_url
Expand Down

0 comments on commit 3a870cc

Please sign in to comment.