Skip to content

Instantly share code, notes, and snippets.

@Decicus
Last active July 12, 2018 01:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Decicus/cd7316b57a42d0a244c670ed48a5f390 to your computer and use it in GitHub Desktop.
Save Decicus/cd7316b57a42d0a244c670ed48a5f390 to your computer and use it in GitHub Desktop.
Miscellaneous Nightbot commands using variables

Usage

!setmulti <streams> where <streams> is just the channel names for the ones you're streaming with, separated by a space between every channel.

Command

!commands add -a=!commands !setmulti edit !multi http://kadgar.net/live/$(channel)/$(eval const streams = '$(query)'.split(" ");streams.join("/");)

Usage

!setmulti <streams> where <streams> is just the channel names for the ones you're streaming with, separated by a space between every channel.

Command

!commands add -a=!commands !setmulti edit !multi https://multistre.am/$(channel)/$(eval const streams = '$(query)'.split(" ");const layouts = ["4", "7", "10", "14"];streams.join("/") + "/layout" + (layouts[streams.length - 1] || "") + "/";)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment