Skip to content

Instantly share code, notes, and snippets.

@camalot
Created December 31, 2018 17:21
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camalot/1256fa80b6b91161debb99eaf172fee8 to your computer and use it in GitHub Desktop.
Save camalot/1256fa80b6b91161debb99eaf172fee8 to your computer and use it in GitHub Desktop.
Nightbot shoutout command that allows @ in the username
Make sure to give $(touser) a follow! $(twitch $(eval user = "$(touser)".replace(/^\@/gi,''); user.toString();) "{{displayName}} was last seen playing {{game}}") - Give $(touser) a follow at https://twitch.tv/$(eval user = "$(touser)".replace(/^\@/gi,''); user.toString();)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment