mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-19 08:41:39 +01:00
change references of qweri0p to qwerinope
This commit is contained in:
@@ -107,7 +107,7 @@ VARIABLE|DEFAULT|FUNCTION|REQUIRED
|
|||||||
`COOLDOWN`|24 Hours|Cooldown between letting users get a lootbox with `!getloot` in seconds|:x:
|
`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_ID`|None|Set the CLIENT_ID to authenticate the bot|:bangbang:
|
||||||
`CLIENT_SECRET`|None|Set the CLIENT_SECRET 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:
|
`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:
|
`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:
|
`BROADCASER_OAUTH_CODE`|None|OAuth authorization code for the broadcaster (ignored if `DIFFERENT_BROADCASTER` is false)|:bangbang:
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ async function firstAccess(main = true) {
|
|||||||
const CLIENT_SECRET = process.env.CLIENT_SECRET
|
const CLIENT_SECRET = process.env.CLIENT_SECRET
|
||||||
const OAUTH_CODE = process.env.OAUTH_CODE
|
const OAUTH_CODE = process.env.OAUTH_CODE
|
||||||
const BROADCASTER_OAUTH_CODE = process.env.BROADCASTER_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_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) }
|
if (!CLIENT_SECRET) { console.error("No 'CLIENT_SECRET' for OAuth defined in environment variables."); process.exit(1) }
|
||||||
|
|||||||
Reference in New Issue
Block a user