From 7843ebaa1626a6f309ed8e35038c52c1790f51d0 Mon Sep 17 00:00:00 2001 From: qwerinope Date: Wed, 7 May 2025 09:46:22 +0200 Subject: [PATCH] change references of qweri0p to qwerinope --- README.md | 2 +- src/lib/auth.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03521a2..e26d24e 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ VARIABLE|DEFAULT|FUNCTION|REQUIRED `COOLDOWN`|24 Hours|Cooldown between letting users get a lootbox with `!getloot` in seconds|:x: `CLIENT_ID`|None|Set the CLIENT_ID to authenticate the bot|:bangbang: `CLIENT_SECRET`|None|Set the CLIENT_SECRET to authenticate the bot|:bangbang: -`REDIRECT_URI`|`https://qweri0p.github.io/url-params/`|The REDIRECT_URI set in the twitch dev console|:bangbang: +`REDIRECT_URI`|`https://qwerinope.github.io/url-params/`|The REDIRECT_URI set in the twitch dev console|:bangbang: `OAUTH_CODE`|None|Authorization code for OAuth|:bangbang: `DIFFERENT_BROADCASTER`|`false`|Set this to true when `BOT_NAME` and `CHANNEL` are different.|:white_check_mark: `BROADCASER_OAUTH_CODE`|None|OAuth authorization code for the broadcaster (ignored if `DIFFERENT_BROADCASTER` is false)|:bangbang: diff --git a/src/lib/auth.ts b/src/lib/auth.ts index 9b86998..523d796 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -30,7 +30,7 @@ async function firstAccess(main = true) { const CLIENT_SECRET = process.env.CLIENT_SECRET const OAUTH_CODE = process.env.OAUTH_CODE const BROADCASTER_OAUTH_CODE = process.env.BROADCASTER_OAUTH_CODE - const REDIRECT_URI = process.env.REDIRECT_URI ?? 'https://qweri0p.github.io/url-params/' + const REDIRECT_URI = process.env.REDIRECT_URI ?? 'https://qwerinope.github.io/url-params/' if (!CLIENT_ID) { console.error("No 'CLIENT_ID' for OAuth defined in environment variables."); process.exit(1) } if (!CLIENT_SECRET) { console.error("No 'CLIENT_SECRET' for OAuth defined in environment variables."); process.exit(1) }