From 1b494bb088ef5ded22eec090dd50161ea564cc63 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Wed, 4 Sep 2024 19:41:37 +0300 Subject: Add Setup section to the README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7755fa4..6d2cc0e 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@ PetTheCord -- This is a Web API for petting any user you know which has avatar +## Setup +Create some discord application (it is needed for getting discord user's avatar) +and put its token to `PETTHECORD_TOKEN` env var or write it to file and create +`PETTHECORD_TOKEN_FILE` env var with the path of the file with the token. Other +help is desribed in the `--help`. + ## Usage `https://example.com/.gif` will return you gif that specified user. -- cgit 1.4.1