Skip to content

Commit 4b9bd6a

Browse files
authored
Merge pull request #72 from RyanLua/placeholder-docs
Add post placeholders to usage documentation
2 parents 1f9f523 + f97ced0 commit 4b9bd6a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/source/usage.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,14 @@ Reference
6262

6363
* ``https://discord.com/api/webhooks/{webhook_id}/{webhook_token}``
6464
* ``https://discordapp.com/api/webhooks/{webhook_id}/{webhook_token}``
65+
66+
-c --message-content : @after
67+
Accepts placeholders for the post information:
68+
69+
* ``{post_url}`` - The URL to the post on Instagram: ``https://www.instagram.com/C8wRGmyR-6N``
70+
* ``{owner_url}`` - The URL to the owner's profile on Instagram: ``https://www.instagram.com/raenlua``
71+
* ``{owner_name}`` - The owner's full name: ``Ryan Luu``
72+
* ``{owner_username}`` - The owner's username: ``raenlua``
73+
* ``{post_caption}`` - The post's caption: ``This is a post caption.``
74+
* ``{post_shortcode}`` - The post's shortcode: ``C8wRGmyR-6N``
75+
* ``{post_image_url}`` - The post's image URL: ``https://www.instagram.com/p/C8wRGmyR-6N/media``

0 commit comments

Comments
 (0)