rework auth (i'm an idiot), add whisper commands, change whispercmds, back to webhook

This commit is contained in:
2025-11-20 20:23:24 +01:00
parent 977082f38e
commit 34fa80e292
20 changed files with 263 additions and 200 deletions

View File

@@ -5,8 +5,11 @@ CLIENT_ID= # Client_id gotten from the twitch dev console
CLIENT_SECRET= # Client_secret gotten from the twitch dev console
# REDIRECT_URL= # Redirect URL that has been set in the twitch dev console. Defaults to: http://localhost:3456
# REDIRECT_PORT= # Redirect port if the REDIRECT_URL has not been set. Defaults to 3456. This is also the port the bot will listen on to authenticate
EVENTSUB_SECRET= # Should be a random string of characters
EVENTSUB_HOSTNAME= # https secured URL that the bot is listening on (EVENTSUB_PORT)
EVENTSUB_PORT=8081 # TCP port the bot will be listening on for eventsub events
# COMMAND_PREFIX= # The prefix which will be used to activate commands. Defaults to '!'. When requiring a space between prefix and command, escape the space with a backslash
WEB_PORT= # The port that the chat widget and sound alerts will be served on
WEB_PORT=8080 # The port that the chat widget and sound alerts will be served on
# The Twitch IDs required below can be gotten from this website: https://www.streamweasels.com/tools/convert-twitch-username-to-user-id/
@@ -32,3 +35,6 @@ DISCORD_TOKEN= # Discord bot token
DISCORD_CLIENT_ID= # Discord bot app client id
DISCORD_GUILD_ID= # Discord guild (server) where the bot runs
DISCORD_CHANNEL_ID= # Discord channel id, in guild, where bot should post announcements
# Development only
# EVENTSUB_NGROK_TOKEN=