change sendMessage wrapper, migrate from websocket connection to webhook for EventSub (reverse proxy)

This commit is contained in:
2025-06-24 01:36:43 +02:00
parent 37a38eb9e0
commit 2a430befbf
9 changed files with 75 additions and 30 deletions

View File

@@ -7,6 +7,11 @@ CLIENT_SECRET= # Client_secret gotten from the twitch dev console
# 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
# 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
# EventSub webhook config
# This only works when behind a reverse proxy secured with SSL
EVENTSUB_HOSTNAME= # Hostname that points to the reverse proxy
EVENTSUB_PORT= # Port the reverse proxy forwards requests to
# The Twitch IDs required below can be gotten from this website: https://www.streamweasels.com/tools/convert-twitch-username-to-user-id/
# Streamer config