I don’t think it’s possible with the current technology, and also, this could be annoying if someone suggests another quote by the time you go to type accept. You can still have some sort of suggestion, and then admin would have to manually type "!addquote " which is a bit annoying but yeah, sadly it’s the best that can be done right now.
If you really really insist, it wouldn’t be too hard to have a pair of custom api, one that just takes an input, and another API that gives you back the last item submitted to the API. I could see this being useful in other places I guess.
@ehsankia if I am using your quote system to generate highlights like @Aaron128l explained on another thread and I wanted it to also generate the stream title into the thread how would I go about doing this? Also if it matters I’m using it to generate highlights for friends stream I am mod in not my own. Thanks in advance!
If you do the automatic at the top, it should take care of that for you (although only the channel owner can do it).
Also, you can use the nightbot control panel site to do it, which provides you with an interface which makes it easy to set these kind of extra options. You can also edit old commands to make them moderator only.
Could you tell me how to modify the !addquote command to add a timestamp and the game that was played? I’ve been trying to work it out myself, but not had much luck so far ^^
Really appreciate this API, it’s brilliant
There’s more advanced one, but I’ll pick “L” for the date and “LT” for the time.
How you want it to all look. For my example, I’ll go “[TIME] [GAME] quote”
Here’s what the data segment looks like &data=[$(time US/Pacific "L LT")] [$(twitch $(channel) "{{game}}")] $(querystring)
It’s a bit complicated, but all you need to change here is US/Pacific, and maybe the “L LT” if you want a different format. You can also try changing the [ ] and the order but be careful.
Then, the FULL thing looks like this: $(urlfetch http://twitch.center/customapi/addquote?token=MY_TOKEN&data=[$(time US/Pacific "L LT")] [$(twitch $(channel) "{{game}}")] $(querystring))
Thank you! I was just struggling to determine how to add the time part and couldn’t fine the game command. Really appreciate the time you took to put this in:)
Yeah that is the issue. Only one quote shows up in the list but I actually have 3 entered in. See below:
CremasterContusion - Today at 12:35 AM
!swquote 1
NightbotBOT - Today at 12:35 AM
Exanimus is a death cult obsessed with become undead. They have taken a technological approach in using cyberware to keep the body just barely alive.
CremasterContusion - Today at 12:35 AM
!swquote 2
NightbotBOT - Today at 12:35 AM
The Trade Federation is a sovereign, neutral agency that protects the FTL lanes from piracy and ensures fair trade. Similarly, they are the galactic equivalent of a police force.
CremasterContusion - Today at 12:35 AM
!swquote 3
NightbotBOT - Today at 12:35 AM
Ron Schlotskie, Residential Badass. *Puts on purple slotted shades and motors away.
Are you sure you made the timer properly, and there isn’t an extra space at the end. Honestly I should probably strip extra spaces, that might fix your issue.