readme: update usage section

This commit is contained in:
ayntgl 2022-01-20 18:47:10 +04:00
parent 17c5ceb164
commit 3730f41e3e

View file

@ -38,7 +38,9 @@ sudo mv ./discordo /usr/local/bin
- Run the `discordo` executable with no arguments.
- Log in using the account email and password (first-time login) and click on the "Login" button to continue. If you are using a bot account to login, set the `DISCORDO_TOKEN` environment variable to the token of the bot and prefix it with `Bot ` (eg: `Bot OTI2MDU5NTQxNDE2Nzc5ODA2.Yc2KKA.2iZ-5JxgxG-9Ub8GHzBSn-NJjNg`).
- Log in using the account email and password (first-time login) and click on the "Login" button to continue.
- If you are using a bot account to login, set the `DISCORDO_TOKEN` environment variable to the token of the bot and prefix it with `Bot ` (eg: `Bot OTI2MDU5NTQxNDE2Nzc5ODA2.Yc2KKA.2iZ-5JxgxG-9Ub8GHzBSn-NJjNg`).
- By default, Discordo utilizes OS-specific keyring to store the authentication token. However, if you prefer not to use a keyring (not recommended), you may set the `DISCORDO_TOKEN` environment variable and Discordo will prioritize the usage of the provided token to login instead of keyring.