From c97307d5425ba0fef24f0bdd5b9d63f660e11b20 Mon Sep 17 00:00:00 2001 From: Sapi <144389458+FBIGlowie@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:47:26 -0500 Subject: [PATCH] docs(README): add FAQ section (#473) Co-authored-by: Ayyan --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 67dee54..fca63cd 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,30 @@ The configuration file allows you to configure and customize the behavior, keybi [The default configuration can be found here](./internal/config/config.go). + +## FAQ + +### Manually adding token to keyring + +Do this if you get the error: +>failed to get token from keyring: secret not found in keyring + +1. First, start the keyring daemon +```bash +eval $(gnome-keyring-daemon --start) +export $(gnome-keyring-daemon --start) +``` + +2. Create a keyring using `seahorse` application if a keyring doesn't already exist. + +3. Add the token secret using +```bash +secret-tool store --label="Discord Token" service discordo username token +``` + +4. When it prompts for the password, paste your token, and that's it! + + ## Disclaimer Automated user accounts or "self-bots" are against Discord's Terms of Service. I am not responsible for any loss caused by using "self-bots" or Discordo.