diff --git a/README.md b/README.md index 7ef0f43..0b0b3f4 100644 --- a/README.md +++ b/README.md @@ -53,12 +53,33 @@ go build . ## Usage +### Password + 1. Run the `discordo` executable with no arguments. -> If you are logging in using an authentication token, provide the `token` command-line flag to the executable (eg: `--token "OTI2MDU5NTQxNDE2Nzc5ODA2.Yc2KKA.2iZ-5JxgxG-9Ub8GHzBSn-NJjNg"`). Alternatively, set the value of the `DISCORDO_TOKEN` environment variable to the authentication token. The token is stored securely in the default OS-specific keyring. - 2. Enter your email and password and click on the "Login" button to continue. +### Token + +Provide the `token` command-line flag to the executable. + +```sh +discordo --token "OTI2MDU5NTQxNDE2Nzc5ODA2.Yc2KKA.2iZ-5JxgxG-9Ub8GHzBSn-NJjNg" +``` + +Alternatively, set the value of the `DISCORDO_TOKEN` environment variable to the authentication token. + +> [!TIP] +> You can manually set the token to the keyring using the instructions [here](#manually-adding-token-to-keyring). + +### QR + +1. Run the `discordo` executable with no arguments. + +2. Click on the "Login with QR" button. + +3. Follow the instructions in the QR Login screen. + ## Configuration The configuration file allows you to configure and customize the behavior, keybindings, and theme of the application.