Before you startBevor du loslegst
- Python 3.11 or newer from python.org. Tick both boxes when installing: “Use admin privileges when installing py.exe” and “Add python.exe to PATH”.Python 3.11 oder neuer von python.org. Beim Installieren beide Haken setzen: „Use admin privileges when installing py.exe“ und „Add python.exe to PATH“.
- The bot package is fully unzipped (right-click the ZIP → “Extract All…”). Don't start it from inside the ZIP.Das Bot-Paket ist vollständig entpackt (Rechtsklick auf die ZIP → „Alle extrahieren …“). Nicht direkt aus der ZIP starten.
- Your channel has channel points (Affiliate or Partner), and Nightbot song requests are turned on.Auf deinem Kanal gibt es Kanalpunkte (Affiliate oder Partner), und die Nightbot-Songrequests sind eingeschaltet.
The bot guides you through every step in its black window and opens the right pages. The green parts in the windows below are what you type.Der Bot führt dich im schwarzen Fenster selbst durch jeden Schritt und öffnet die richtigen Seiten. Die grünen Stellen in den Fenstern sind das, was du eintippst.
Getting readyVorbereitung
Start the botBot starten
Open the unzipped folder and double-click START.bat. On the very first start the bot sets up its own Python environment. That takes about a minute, then the setup begins.Öffne den entpackten Ordner und doppelklick auf START.bat. Beim allerersten Start richtet der Bot seine eigene Python-Umgebung ein. Das dauert etwa eine Minute, danach beginnt die Einrichtung.
First start: setting up Python, this takes about a minute ... ────────────────────────────────────────────────────────────────── SONGREQUEST MOVER SETUP ────────────────────────────────────────────────────────────────── You only do this once. It takes about 5 minutes. Read the short text at each step, then type your answer. Paste with Ctrl+V or right-click. Confirm with Enter. ────────────────────────────────────────────────────────────────── STEP 1 of 6: Your Twitch channel ────────────────────────────────────────────────────────────────── Type the name of your Twitch channel, the way it appears in your link. Example: your link is twitch.tv/mychannel -> you type: mychannel Upper and lower case don't matter. Pasting the whole link works too. >> Channel name:
Keep this window open for the whole setup.Lass dieses Fenster während der ganzen Einrichtung geöffnet.
BotBot
Enter channel and rewardChannel und Belohnung eingeben
- Type your channel name the way it appears in your link (for
twitch.tv/yourchannelthat'syourchannel) and press Enter.Tipp den Namen deines Channels so ein, wie er in deinem Link steht (beitwitch.tv/deinchannelalsodeinchannel) und drück Enter. - Create the channel point reward on Twitch if you haven't yet: Creator Dashboard → Community → Channel Points → Manage Rewards → “Add New Custom Reward”. Easiest with exactly this title:Leg auf Twitch die Kanalbelohnung an, falls noch nicht geschehen: Creator-Dashboard → Community → Kanalpunkte → Belohnungen verwalten → „Neue benutzerdefinierte Belohnung“. Am einfachsten mit genau diesem Titel:
PUT YOUR SONGREQUEST AT THE TOP - If your reward has exactly that name, just press Enter at the title prompt. Otherwise type the title exactly.Heißt deine Belohnung so, drückst du beim Titel einfach Enter. Sonst den Titel genau abtippen.
... >> Channel name: yourchannel ────────────────────────────────────────────────────────────────── STEP 2 of 6: Your channel point reward ────────────────────────────────────────────────────────────────── You need a channel point reward on Twitch that viewers redeem. To create it: Creator Dashboard -> Community -> Channel Points -> "Manage Rewards" -> "Add New Custom Reward". Type the EXACT title of that reward here. Named it like the text in the brackets? Then just press Enter. >> Reward title [Enter = PUT YOUR SONGREQUEST AT THE TOP]: Enter ────────────────────────────────────────────────────────────────── STEP 3 of 6: Create a Nightbot app ────────────────────────────────────────────────────────────────── To move songs to the top, the bot needs an "app" at Nightbot. 1. Log in with your Twitch account on the page that opens. 2. Scroll all the way down to "Your Applications", click "New Application". 3. Name: anything, e.g. Songrequest Mover -> "Create". Then open the app. 4. Click "Add Redirect URI". If it shows http://localhost:3000, click that address and change it to exactly: http://localhost:8765/callback 5. At the top you now see "Client ID" and "Client Secret" with copy icons. Keep that page open for the next 2 steps. >> Press Enter to open the page in your browser ...
NightbotNightbot
Open Nightbot applicationsNightbot-Anwendungen öffnen
Press Enter in the bot window. The page Nightbot → Settings → Connections opens. Log in with your Twitch account, scroll to “Your Applications” and click “New application”.Drück im Bot-Fenster Enter. Die Seite Nightbot → Settings → Connections öffnet sich. Melde dich mit deinem Twitch-Konto an, scroll zu „Your Applications“ und klick auf „New application“.
NightbotNightbot
Name the applicationDer Anwendung einen Namen geben
Enter for example “Songrequest Mover” and confirm with “Create”. Then open the new application.Trag zum Beispiel „Songrequest Mover“ ein und bestätige mit „Create“. Öffne anschließend die neu angelegte Anwendung.
NightbotNightbot
Redirect URI, Client ID and SecretRedirect-URI, Client-ID und Secret
Click “Add Redirect URI”. If http://localhost:3000 gets inserted, click that address and change it to exactly:Klick auf „Add Redirect URI“. Wird http://localhost:3000 eingefügt, klick direkt auf diese Adresse und änder sie genau auf:
http://localhost:8765/callbackThen check that the full address is shown.Prüf danach, dass die vollständige Adresse angezeigt wird.
- Copy the Client ID with icon ①, paste it in the bot window at “Nightbot client ID:” and press Enter.Kopier die Client ID über das Symbol ①, füg sie im Bot-Fenster bei „Nightbot client ID:“ ein und drück Enter.
- Copy the Client Secret with icon ②, paste it at “Nightbot client secret:” and press Enter. Do not click the circular arrows next to it, they create a new secret.Kopier das Client Secret über das Symbol ②, füg es bei „Nightbot client secret:“ ein und drück Enter. Nicht auf die Kreispfeile daneben klicken, die erzeugen ein neues Secret.
When you paste the secret, the characters stay invisible. That's on purpose. If you paste the ID instead of the secret by mistake, the bot notices and asks again.Beim Einfügen des Secrets bleiben die Zeichen unsichtbar. Das ist Absicht. Hast du aus Versehen die ID statt des Secrets eingefügt, merkt der Bot das und fragt nochmal.
... >> Press Enter to open the page in your browser ... Enter ────────────────────────────────────────────────────────────────── STEP 4 of 6: Nightbot client ID ────────────────────────────────────────────────────────────────── Copy the "Client ID" (copy icon next to it) and paste it here. Careful: this is the ID, NOT the secret. >> Nightbot client ID: 1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d ────────────────────────────────────────────────────────────────── STEP 5 of 6: Nightbot client secret ────────────────────────────────────────────────────────────────── Now copy the "Client Secret" (copy icon, NOT the circle arrows, they make a new one). IMPORTANT: you WON'T see any characters when you paste. That's on purpose (like with passwords). Just paste it (Ctrl+V or right-click) and press Enter. Don't show the secret to anyone. The bot stores it encrypted on your PC. >> Nightbot client secret: (pasted, invisible) Enter ────────────────────────────────────────────────────────────────── STEP 6 of 6: Log in with Twitch and Nightbot ────────────────────────────────────────────────────────────────── Two pages now open in your browser, one after the other. Both times, log in with your account "yourchannel" and click "Authorize" / "Allow". Then come back to this window. Logged in with a different Twitch account in your browser? Log out first. >> Press Enter to start with Twitch ...
Sign-inAnmeldung
Connect both accountsBeide Konten verbinden
Press Enter in the bot window.Drück im Bot-Fenster Enter.
- Twitch: in the browser, check that you're logged in with your channel account. If the page shows a code, compare it with the one in the bot window. Then click “Activate” and “Authorize”.Twitch: Prüf im Browser, dass du mit dem Konto deines Kanals angemeldet bist. Steht ein Code auf der Seite, vergleich ihn mit dem im Bot-Fenster. Dann auf „Aktivieren“ und „Autorisieren“ klicken.
- Nightbot: the second page opens by itself. Log in with the same Twitch account and click “Allow”. The browser then says “Done! You can close this tab …”.Nightbot: Die zweite Seite öffnet sich von selbst. Mit demselben Twitch-Konto anmelden und „Allow“ klicken. Im Browser steht danach „Done! You can close this tab …“.
>> Press Enter to start with Twitch ... Enter [1/2] TWITCH: Log in as yourchannel in the browser and click "Authorize". If you're asked for a code, type: ABCDEFGH Page didn't open? Open this address: https://www.twitch.tv/activate?public=true&device-code=ABCDEFGH Waiting for you ... OK: Twitch is connected. [2/2] NIGHTBOT: Log in with the Twitch account yourchannel in the browser and click "Allow". Page didn't open? Copy this address and open it in your browser: https://api.nightbot.tv/oauth2/authorize?client_id=1a2b3c4d... Waiting for you ... ────────────────────────────────────────────────────────────────── DONE! The bot is set up for #yourchannel. From now on, just double-click START.bat. Keep this window open while you stream. Closing it stops the bot. ────────────────────────────────────────────────────────────────── 2026-10-09 19:58:04 INFO READY: #yourchannel – watching "PUT YOUR SONGREQUEST AT THE TOP".
The window shows DONE! and shortly after READY: #yourchannel. The bot keeps running right away, no restart needed.Im Fenster stehen DONE! und kurz danach READY: #deinchannel. Der Bot läuft direkt weiter, du musst nichts neu starten.
Setup done? Time for a test.Einrichtung fertig? Zeit für den Test.
Request a song yourself, then redeem the reward. A few seconds later the window shows:Wünsch dir selbst einen Song und lös danach die Belohnung ein. Ein paar Sekunden später steht im Fenster:
2026-10-09 20:14:37 INFO REDEEMED: 'Viewer'. 2026-10-09 20:14:40 INFO MOVED UP: 'Viewer' – 'Favorite song' (was position 7).
START.batDouble-click before every stream. Keep the window open (minimizing is fine).Vor jedem Stream doppelklicken. Das Fenster offen lassen (minimieren ist ok).
Close the windowFenster schließenStops the bot. Nothing else needed.Beendet den Bot. Mehr ist nicht nötig.
SETUP.batDifferent channel, different reward title, or sign in again. The bot runs right after.Anderer Channel, anderer Belohnungstitel oder neu anmelden. Danach läuft der Bot direkt.
Keep the Nightbot music player open during the stream as usual. All messages are also written to data\bot.log.Den Nightbot-Musikplayer während des Streams wie gewohnt geöffnet lassen. Alle Meldungen landen zusätzlich in data\bot.log.
What do the messages mean?Was bedeuten die Meldungen?
| MessageMeldung | Meaning and what you can doBedeutung und was du tun kannst |
|---|---|
MOVED UP | It worked.Hat geklappt. |
NO SONG | The viewer had no waiting song. You can refund their points in the dashboard.Der Zuschauer hatte keinen wartenden Song. Die Punkte kannst du ihm im Dashboard zurückgeben. |
CHECK MANUALLY | Nightbot didn't answer clearly. Take a quick look at the queue. The bot deliberately doesn't try a second time.Nightbot hat nicht eindeutig geantwortet. Schau kurz in die Queue. Der Bot versucht es absichtlich nicht ein zweites Mal. |
Twitch connection lost | Short internet dropout. The bot reconnects by itself. Redemptions during exactly that pause are not caught up.Kurzer Internet-Aussetzer. Der Bot verbindet sich selbst neu. Einlösungen genau in dieser Pause holt er nicht nach. |
Channel point reward … not found | The title doesn't match exactly, or the reward is paused or deleted. Fix it with SETUP.bat.Der Titel stimmt nicht genau oder die Belohnung ist pausiert/gelöscht. Mit SETUP.bat korrigieren. |
Logged in at Twitch as "…" | You signed in with a different account. Log out in the browser, then run SETUP.bat.Du hast dich mit einem anderen Konto angemeldet. Im Browser abmelden, dann SETUP.bat. |
Nightbot login failed | Usually the redirect URI isn't exactly right (see step 5) or the secret was regenerated. Check, then run SETUP.bat.Meist stimmt die Redirect-URI nicht genau (siehe Schritt 5) oder das Secret wurde neu erzeugt. Prüfen, dann SETUP.bat. |
Run SETUP.bat | The sign-in has expired (for example after about two months off) or was revoked. Double-click SETUP.bat. IDs you already entered are kept with Enter.Die Anmeldung ist abgelaufen (z. B. nach etwa zwei Monaten Pause) oder wurde entzogen. SETUP.bat doppelklicken. Bereits eingetragene IDs übernimmst du dabei mit Enter. |
Please install Python 3.11 or newer | Python is missing or the “py.exe” box wasn't ticked. Reinstall Python, see “Before you start”.Python fehlt oder der Haken bei „py.exe“ wurde nicht gesetzt. Python neu installieren, siehe „Bevor du loslegst“. |
The bot is already running | It's already open in another window. Use that window.Er ist schon in einem anderen Fenster offen. Das andere Fenster nutzen. |
Port 8765 is in use | Another program is blocking the sign-in. Restart your PC and try again.Ein anderes Programm blockiert die Anmeldung. PC neu starten und nochmal versuchen. |
Reset everything: close the window and delete the data folder. To also remove the bot's access on the platforms, remove it on Twitch under Settings → Connections and on Nightbot under Settings → Connections.Alles zurücksetzen: Fenster schließen und den Ordner data löschen. Willst du dem Bot den Zugriff auch auf den Plattformen entziehen, entferne ihn bei Twitch unter Einstellungen → Verbindungen und bei Nightbot unter Settings → Connections.
Security: the bot never asks for passwords. The sign-in and the Nightbot secret are stored encrypted, only on your PC. Never share the data folder or your secret.Sicherheit: Der Bot fragt nie nach Passwörtern. Anmeldung und Nightbot-Secret werden verschlüsselt nur auf deinem PC gespeichert. Gib den Ordner data und dein Secret niemals weiter.