Twitch + Spotify chat command

The !Song Command for Twitch

Let your viewers type !Song and instantly see the Spotify track you're playing right now — the song, the artist, and an optional link. No more repeating yourself, and no overlay space wasted. Chat is exactly where your current song should be.

You'll log in with Twitch, then Spotify, to create your account · free trial · no code

Works with every major Twitch chat bot

Envesko Cloud (the service behind songcommand.com) generates the !Song command for you, ready to paste into your bot.

  • StreamElements
  • Nightbot
  • Streamlabs Cloudbot
  • Moobot
  • Fossabot
  • Wizebot

Add it in three quick steps

It takes about two minutes and no coding. Connect Twitch and Spotify once, then paste the command into your bot.

  1. 1

    Connect Twitch & Spotify

    Sign in with Twitch, then authorize Spotify so Envesko can read your currently playing track.

  2. 2

    Copy your command

    Envesko generates the exact !Song command for your bot, with your private key already included.

  3. 3

    Paste it into your bot

    Create a custom command named !Song, paste it into the response field, and save.

Per-bot setup

Pick your bot below. The command Envesko generates points at the Envesko Cloud API and looks like the examples shown — your real command includes your own key.

Always copy your exact command from the dashboard after you connect — it already contains your private key. The YOURKEY below is only a placeholder; never share your key publicly. Add /include-song-link to the end of the URL to also post a Spotify link.

StreamElements

$(customapi.https://envesko.cloud/api/spotify/get-current-song/YOURKEY)
  1. Open the StreamElements Dashboard.
  2. Expand Bot in the left sidebar, then Chat Commands.
  3. Open Custom Commands and press Add New Command.
  4. Name it !Song and paste the command into the Response section. Save.

Nightbot

$(urlfetch https://envesko.cloud/api/spotify/get-current-song/YOURKEY)
  1. Open the Nightbot Dashboard.
  2. Expand Commands in the left sidebar and choose Custom.
  3. Press Add Command.
  4. Set the command to !Song and paste it into the Message field. Submit.

Streamlabs Cloudbot

{readapi.https://envesko.cloud/api/spotify/get-current-song/YOURKEY}
  1. Open the Streamlabs Dashboard.
  2. Press Cloudbot in the left sidebar under Features.
  3. Open the Commands tab and press Add Command.
  4. Name it !Song and paste the command into the Response section. Save.

Fossabot

$(customapi https://envesko.cloud/api/spotify/get-current-song/YOURKEY)
  1. Open the Fossabot Dashboard.
  2. Click Commands in the left sidebar.
  3. Press Create Command.
  4. Name it !Song and paste the command into the response section. Save.

Moobot & Wizebot

These bots use a URL-fetch response type, so you paste just the API URL (no prefix):

https://envesko.cloud/api/spotify/get-current-song/YOURKEY
  1. Moobot: create a custom command, enable advanced options, set the response to URL fetch — Full (plain) response, and paste the URL.
  2. Wizebot: API/URL responses require a premium Wizebot subscription — if you are not subscribed we recommend StreamElements instead.
Prerequisite: Spotify must be actively playing on a device for the command to read your current track, and you connect your Spotify account once during setup.

Frequently asked questions

What does the !Song command show?

When a viewer types !Song, your bot replies with the track currently playing on your Spotify — the song name and artist, with an optional Spotify link. It updates in near real time as you change songs.

What's the difference between !Song and song requests?

The Envesko !Song command shows what you are currently listening to on Spotify. It does not take song requests or manage a queue. Viewer song requests (!sr / !songrequest) are a separate feature inside bots like Nightbot, StreamElements or Moobot.

Do I need Spotify?

Yes. The !Song command reads your currently playing track from Spotify, so you connect your Spotify account during setup. It currently supports Spotify only.

Does it work with Apple Music or YouTube?

No. The Envesko !Song command supports Spotify only.

It says "There is currently no music playing" — why?

Spotify must be actively playing on a device for the command to read a track. If an advert is playing, the command says an ad is playing. If playback is paused or idle, there is no current track to show.

Is it safe to connect my Spotify and Twitch?

Yes. You sign in through Twitch and Spotify's official login screens. Envesko never sees or stores your password.

How much does the !Song command cost?

You can start with a free trial. After that, the command runs on an affordable Envesko Cloud subscription plan.

Is songcommand.com the same as Envesko?

Yes. songcommand.com is the home of the !Song command, which is built and run by Envesko Cloud (envesko.cloud). Your account, command and billing live on envesko.cloud.

Add the !Song command today