From 663d5cac4a2388ea9a3020db8c5ed8f3f8bb010e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 17 Jul 2019 13:53:18 +0100 Subject: [PATCH] Notes on sending posts --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 340f65553..012e8f4f5 100644 --- a/README.md +++ b/README.md @@ -343,6 +343,30 @@ Unfollowing is silimar: python3 epicyon.py --nickname [yournick] --domain [name] --unfollow othernick@domain --password mypass ``` +## Sending posts + +To send a post: + +``` bash +python3 epicyon.py --nickname [yournick] --domain [name] \ + --sendto othernick@domain --message "hello" \ + --warning "This is a content warning" \ + --password mypass +``` + +The password is the c2s password for your account. + +You can also attach an image. It must be in png, jpg or gif format. + +``` bash +python3 epicyon.py --nickname [yournick] --domain [name] \ + --sendto othernick@domain --message "bees!" \ + --warning "bee-related content" --attach bees.png \ + --imagedescription "bees on flowers" \ + --blurhash \ + --password mypass +``` + ## Archiving posts You can archive old posts with: