Skip to content

orthros/jury-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jury-scroll

Example Nightbot Usage

While you may want to maintain sole control over the ticker via the web page, if you want your viewers to have access (or mods etc) here is an example of a nightbot command script to call the api

$(user) set the ticker message to "$(urlfetch https://juryscroll.herokuapp.com/api/control/ea23b0d9-1ef2-4cd0-a7ad-7d945869e254/$(querystring))"

The Nightbot urlfetch API uses HTTP GET verbs as opposed to POST, hence the route.

Also if the content returned to urlfetch is null (even if the sucess code is 200), the string in pace of $(urlfetch http://...) will be [Error Connecting to WebProxy Service]. Hence returning the string to the user in the get method.

About

A scroll ticker with Nightbot Support! Made with <3 for JuRY

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published