#dev-chat
1 messages ยท Page 17 of 1
lol
w8 can you !vanish other people 2 o. O
the vanish command is to get rid of chat message
messages*
it uses the twitch command /timeout to time a person out
it times them out for 1 whole second
but cant viewers !vanish therselfs ? o. O
which is an auto erase of all chat messages from that viewer
if you set it that way, they could
here, let me show you. I am in your dascold channel
oh aight ๐

Hello people I was wondering how i can make a "gamble" command or how i can enable if this bot has 1?
@pulsar willow I'd use #helpdesk-twitch for these questions, but to answer it, there is a gamble. it is !roulette [amount], turn this action on under the module section on the dashboard
another option is !slots
Hello everyone! I've got a quick question about the loyalty points system. Since the Twitch API Join and Part commands are wholly unreliable on large channels (1000+ viewers), how does StreamElements reliably do loyalty points for viewers in those channels? I can't seem to find any loyalty points bot that explains how they work with larger channels. Can anyone help me?
@abstract ice https://tmi.twitch.tv/group/user/nuuls/chatters 
@wheat sphinx thank you! Is this a reliable endpoint to use for loyalty points? This doesn't look like a typical JSON object Twitch would provide (plus it's not behind any oauth), since they always include id's and other metadata. Plus viewers can always change their names...
Or is this a case of "this is the best we've got until Twitch gives us something better?"
its the only one there is sadly
yeah
it sometimes returns invalid data so you gotta check for that also 
Ah, can't say I'm surpised by that. What do you mean by invalid data? Does it just return null or incorrect viewers? This is essentially why I think I'll end up using a third-party loyalty bot like the SE one, since someone else can worry about those problems 
im pretty sure its just an empty string ""
Eh, Twitch and their unsupported endpoints... ๐คท

@abstract ice Have you considered just tapping into the StreamElements loyalty endpoints? That's what I do with my own local scripted bot. I basically just have the SE bot in my channel tracking points, and then all the commands and point checking is done through my own bot.
I actually haven't considered that. I am assuming their endpoint allows adding/subtracting points per viewer? I'll have to check out theri API later this evening, as it may work for what I'd like to do
@abstract ice their API docs need help, but I'm 90% sure this is the part you'd be interested in. https://github.com/StreamElements/api-docs/blob/master/points.md
Thank you! Could work for what I'd like to do. I'll have to play around with it and see. I appreciate the help!
yes, the API allows adding and subtracting, getting current points, leaderboard rank. It might do more, but those are the only ones I use, and know work, since I use them.
I was pretty much in the same boat as you, 2 years ago when I first started streaming. I made my own bot, and had my own point tracking (which was fairly uncommon for larger streams at the time), and was doing it with the join/part messages on IRC. It got real messy real quick with tons of viewers coming in and out and after twitch changed their notifications on IRC.
As far as I know, that endpoint (linked earlier) is the most (maybe only?) efficient way to check for people in the room now. But I wasn't really up for trying to do that. Luckily I had come across services such as stream elements that already do it for me, and allow access to their systems on the backend ๐
mm yess access to the backend ๐ ๐ฆ
Just started using StreamElements and created item on my Stream Store and it worked fine, but it wont let me make more then 1 for some reason no matter what I try, as soon as I try to make other one its tells me in the right bottom corner "Something went wrong..." , can someone pls help me how to fix that? ๐ pls help
Okay guys, I'm just in love with the Ground Control app, thanks a lot developers โค
โค
@honest bone that issue is something styler is looking into this morning
you have to have an image and sound or else it fails, every time
Dammit Styler
lul
is there a way for the bot to call a URL? Nightbot has the ability to fetch a URL and that's been really helpful when sites open up their API for player stats and what not
You mean ${customapi} ?
well hot damn, I didn't even see that. Thanks!
is there a way to program a command to trigger 8ball and make it cost something? or do I need to make feature request to make it cost points?
@open dock you can't do it, but you can create a custom command and use the 8ball api. custom commands can cost points
@open dock Add that onto feature requests. I think it is already requested to get module commands into defaults for some editing, but doesn't hurt to get that out there
oh okay
I wouldnt know how to use the 8ball api. If there's a way you could post that for me, I'd very much appreciate it ๐ โค
Is this it? ${customapi.api.rtainc.co/twitch/8ball}
@open dock ${customapi.https://api.alixe.pro/8ball/?user=${sender}}
Hey guys, just wondering, is there a way to make rest api calls to a 3rd party using commands?
I would like to build a database with entries like: "!command value" then in a table I have twitchusername, value. So I was think of using a 3rd party for this to keep all entries
there is a customapi command that ouputs the body in plain text ${customapi.link-to-api.com}. Now all you need to do is to create your database and you webpage ^^
@lime bane
@copper skiff thank you, I will check it out
Just wondering when you're gonna get the option to make the texts look like this
from this to
to this
And add Top Cheer of the month ๐
@leaden umbra would be a cool feature. Try adding it to the feature request website! It is pinned to #๐ญ๏ธฑfeedback-and-ideas !!

What is the best way to support StreamElements?!
promote it
^ tell everyone and their mother about it
When can I give you money for things?
I'm still waiting for the Stream Elements Pay To Win model, aswell, lol. As soon as I get Twitch afilliate and/or partner, I'm giving back to all the tools I used, and smaller streams I watch.
edit: Don't get me wrong, I don't want SE to turn to charging to use their features. Just would be something similar to something like twitch turbo/prime ๐
I just wanna toss em a few bucks for a custom bot name really
@somber dew everything you have now will be free foreva. so that is saying something for the premium features they have planned ๐
Nice!
I'm not sure what everyone's fancy is with having custom bot name for SE. I haven't seen any other popular bots do it, unless I'm that oblivious...
And anyways, you don't need to pay to make SE bot custom name, you can already do it free. That's the best part about making the API available to everyone
Yeah asking to change the name of the bot, when that is a huge marketing tool for them makes no sense. It does not hurt the stream for using it. Hell even the big streamers use nightbot and such and it has the original names
yep, thats one of the reaosns (aside from technical stuff) why we dont have renames yet. Theres no better advertisement than the bot name.
Moobot is the only bigger cloud-based bot out there that allows renaming, but for a hefty price tag
So doing a Giveaway for Subs only with 1 ticket and 1 free ticket and its saying 36 Entries with 225 Tickets Purchased
Should I be concered?
Should only have 36 Entries with36 Tickets Purchased
Should be 36 Entries with a max of 72. Because as you said 1 free ticket and you can purchase 1 extra. If you have 36 subs then there would be 36 free tickets given. And 72 Max if they all buy 1 extra ticket
Did you set the max tickets field to 1 ?
Hi guys, is this the place to ask API related questions?
Yea
ty. Would like to manage some of the store items over the API. Ie, list, create, modify, enable/disable store items. Also list redemption queue, refund, accept over the API but cannot find anything in your docs at Github. Any help appreciated
I should add, we're already using the API for other stuff, so it's not general usgae - just the actual endpoints / parameters / results we could use.
Few things than from giveaways from Testing it on my 24hr stream.
- Once you join the Giveaway you cannot enter again. Think that should be to where people can keep entering tickets during the duration of the giveaway.
- The overlay is awesome. Have an option so it can fade out for a few seconds and fade back in. If that option is already available I guess I just didn't get it.
- 10x Sub Luck is bugged. When subs enter their tickets in my Chat they get the 10x sub luck but when they enter it through the website they don't get the 10x.
I am sure other streamers are going to feel the same way about this. But thank you stream elements I appreciate the hard work I know you guys have a lot on your hands so things won't be perfect off the bat.
thanks for the feedback
@finite heath Np sir hope it helps!
hey streamelements, love your product! Is it worth my time writing an app that would display a custom gif on redemtion for specific store item on a localhost browser source or are you planning on modifying your store redemtion widget to display the item img on redemtion fairly quickly?
@zealous nest it should show the image that you set up in the store when you set up the item ๐
I believe that was released last week
@cinder lintel that's awesome! that's what I was waiting for before really pushing store items on stream. It's hard to keep up with all the new great features and updates.
@zealous nest no ptroblem. that is why they keep me tied up in the dungeon
Anyone here familiar with python coding?
Didn't know where to post it. But cheers that have more then 1 cheer in it don't show animated in the ground control.
Also when someone cheers anything other then the default" cheer" it doesn't show up on ground control
@jolly frigate a bit, whats up
Hi, I have some API questions - any one here can help?
@fervent valley not sure if I can help, but you can always try to ask
@copper skiff ty, I've looked through the api docs on github, but can't find any endpoints for the store, would like to be able to list/modify/add/delete items - and also list + refund redemptions in the queue via the API. Any idea if those items are supported in the API - and if so where I might find some docs or info?
I don't think it's available yet (the docs I mean), but I'm not the API expert here. maybe @wheat sphinx can give some extra feedback for that
@fervent valley if you are familiar with the chrome dev tools, you can dig around in the network tab, should be pretty straight forward 
Thanks @copper skiff
@wheat sphinx Thanks for the pointer I'll take a look there - I'm not a webdev but atleast knowing where to look is a start ๐ ty
just ping me if youre stuck ๐
thanks @wheat sphinx much appreciated
Hey, I was looking through the docs for your guy's api & noticed the tips endpoint was empty. Is that something you guys are planning to support and or just have undocumented currently?
I had a few clients that were looking for me to add support for your guy's tipping portal to my software
hi, is there any deadline for any documentation of SE? it's quite hard to work around with it without any documentation
@livid lotus
I run a charity marathon. We would like to eventually use a custom tipping page on our website to get the tips straight to the charity so we don't touch it. Is there a way with the SE api for it to detect the donation and it's amount so it will display in the overlay?
i thnk thats a question for nuuls
@wheat sphinx
@hot lagoon you can just specify the charity's paypal email in the paypal settings
it doesnt have to match your twitch channel's email.
neither you nor SE handles any of the money, it goes straight to charity
and if the charity is properly registered as such, not even paypal will take a cut
@lyric wedge Okay, But what if I want it under my website address? That way my community knows that it IS going towards the charity. Because yes I can change the tittle but everything else makes the viewers think "Oh this isn't going to the charity".
It would be nice to be able to change the profile picture and the "Tipping (name)"
ah mh
not sure about that, sorry :x
maybe ask @gusty turret if something can be done there
or ask @wheat sphinx for the endpoints, if they are publicly available
hmmm
profile pic can be changed via your public profile page on SE
the tipping {name} cant but you can add a donation memo
that appears below it
quickest solution i can offer ;D
Save The Whales, seems like a legit charity, where do I donate? 
It is a legit charity
Of course it is 
@tribal moat
[cough] https://savethewhales.org/
Ohh, I was joking hence the
and the "of course it is" was actually not sarcastic in the slightest, I meant of course it is a legitimate charity because people really love whales
Wasn;t sure lol
Perry is an avid fan of whales 
had to video it, makes me laugh EVERY time i watch it :D
quality screen cap
FAKAYUU DORFIN
CHIKKENANDCAWWW
I love that episode 
@hot lagoon tiltify.com
@pulsar willow we currently use tiltify. But there is no SE integration. Also we want to eventually move it to our website
Just wanted to point a bug out:
If you have a cheer cup and alerts and you reset your session, it will say you got "x0 cheer" from blank and drop a bit into the cup
Morning
Hey i found a bug, When i tweet something on my twitteraccount, than the bot says it twice in the chat. ๐ค
Could you make the bot part and rejoin? Also could you show me your twitter module settings please? @near marten
sure
Settings Twitter module: https://gyazo.com/cb5045066b6a43405e9ae277eb5758f7
Bot restarted but still, it replays double: https://gyazo.com/791b8f198c7b5811eb0115c5be9a7012 
one sec
oki
no no, just part
okii
Cool, so you retyped your name without a cap, right?
yes
okay, can you turn off replies and retweets?
yes
turn off the twitter module, make the bot join, and turn it back on, with rt and replies still off and test it?
no its only the tweet module ๐ค
Let's take a look 
commands isn't double ๐ค
Only twitter streams?
yes
We're gonna look into it ๐
Oki ๐
@near marten We got it resolved, and it should return to normal in 5 minutes ๐
Oki Thank you VoHiYo
Hello just wanted to find out if they fixed any bugs or changed the Giveaway system?
@jagged bramble
So I'm running into a bit of a roadblock when trying to deny + refund redemptions from the store. In particular, I'm sending a PUT request just as the site does, but the redemptions are failing to refund. I'm receiving completed:false and rejected:false in my response, which is not what I sent nor what the site gets back. Does anyone have advice for why this happens and how to resolve it?
@honest bone ^ who would help with this?
Styler or Nuuls
Hey did the websocket ever get documented? I saw some talk earlier in the room. I just want the most efficient way to monitor custom commands and store purchases.
sounds like ben has some skills ;D
Can you explain what you're trying to do ๐ ?
I might be able to guide you through it
nah I am just punching python in the face until it gives me the single most insane localhost based browsersource... what if you could request gifs from giphy to be posted at a random location on a browsersource with absoloutely no limits or timeouts? once I get a custom command from streamelemnts going I might look at the twitch api and parse ever word in chat as a gif search. Then I might tone it down to something people would actually like to use.
I just code on the side. Right now I have a python flask app that uses socket io. as of now I can have a prefs page with a text input/button and the /index page as a obs browsersource. I can post any gifs randomly to the browsersource as of now but i'd like the flask app to look for a !gif_url <url> command.
if that can't be done I will just go with the twitch api posting random gifs based on general twitch chat. Just looking to learn new stuffs really. Not reallly looking at something that can scale or be of use.
@violet creek Thank you for the response. That is one issue fixed.
Will the other issues for the giveaways be fixed? For example.
- To let people keep buying tickets for the duration of the Giveaway.
- Is there anything to be implemented that will tell me if the winner is a sub and follower?
I don't even know if the person that wins my giveaway is a Sub or Follower cause I have so many.
Is there any way to stream on an xbox and still launch the overlays? thanks.
Thanks very much!
Sorry but what would I need to do to set it up and launch the overlay?
I have a Mac so....
Looking into it
Alright well I myself don't know much about the whole capture card thing specifically cause I dont own a console but perhaps you could take a look to google or r/twitch?
I found a video! Thanks a lot and I think StreamElements is a success!
Hey, I'm looking at the streamelements api (https://github.com/StreamElements/api-docs), I'm trying to get stream store purchases, but there doesn't seem to be anything about them here. Does the API support getting stream store purchases, and if so could I get some examples on how? Thanks!
@lunar otter
https://api.streamelements.com/kappa/v1/store/<UserID>/redemptions?limit=25&pending=true
pending=true means items that still needs to be approved
ah brilliant, thanks! @static wigeon
I'm around if you have more questions ๐
I assume changing limit changes how many items get returned?
Correct ๐
Nice, thanks!
You can the get the items by getting /items instead of /redemptions
@static wigeon Oh cool, for what I need I just need redemptions, but good to know!
@static wigeon For UserId, do you use the username or API token?
oh lol I'm missing the obvious xD
I'd use that, because we're going to deprecate usernames in the future ๐
Ok, thanks!
@static wigeon Just trying to play around with the API in Python real quick, do you know how to give the authorization token in the header?
At the moment I have this:
headers = {"authorization" : "Bearer {JWT Token}"}
with urllib.request.urlopen("https://api.streamelements.com/kappa/v1/store/{Account ID}/redemptions?limit=25&pending=true", data=headers) as url:
data = json.loads(url.read().decode())
print(data)
which gives errors about strings??
I get the feeling the authorization token header is wrong, but I'm not sure why lol
To be specific, TypeError: can't concat bytes to str
@lunar otter you are trying to concatenate bytes with a string, you have to cast bytes into string to be able to do that
Yea I just got it, thanks @copper skiff
I just had to change to data=bytes(headers)
with encoding
Yet another issue - I'm getting 404 errors with my python script using the URL https://api.streamelements.com/kappa/v1/store/593c664e49c5ea733064ffcc/redemptions?limit=25&pending=true but it works fine when put into a browser
I'd love to help, but my python knowledge is very very limited ๐
(i'm using an extension to put the header in with a browser)
<--

lol
no problem, I'm a Java guy myself, I went with Python here because I thought it would be quicker lol...
also because I plan on integrating it with an existing project written in Python so...
I guess I'll stackoverflow it?
We might have a python guy around.. one moment
oh ok, if we have a python guy I'll ask him first ๐
@true ridge Is a python master 


@pulsar willow 


@lunar otter
Try something like this:
headers = {"authorization" : "Bearer {JWT Token}"}
res = requests.get("https://api.streamelements.com/kappa/v1/store/590f927540d9203e487fc4bc/redemptions?limit=25&pending=true", headers=headers)
data = res.json
print(data)
@static wigeon Yea, basically what alonraiz just told me
Good ๐
Got it working now, thanks for all the help!
While we're on the topic of redemptions, does anyone have any information on what type of request type and URL need to be used to deny + refund a redemption? I'm currently sending a PUT request to a URL formatted like this:
"https://api.streamelements.com/kappa/v1/store/"+accountId+"/redemptions/"+redemptionId
But this doesn't seem to do anything. Any suggestions?
@strong falcon That'd be a PUT with a body of
completed: true
rejected: Bool
rejectReason: String
@static wigeon I'm not having any success with that approach. In particular, I'm seeing a response come back with rejected:false and completed:false. On the broadcaster's dashboard, a duplicate of the request appears (although it dissapears on F5), and ultimately the request is not refunded.
Is it possible to whisper the messages from commands to user for default commands? I know we can for custom but not default..
How are quotes stored in SE? My customapi stores them in an SQL DB, and I was wondering if I exported it in a compatible format, if somebody at SE could import them into a channel's quotes table/file.
@gusty wing not at this time, though a lot of the default commands can be remade into custom commands
Trying to make the point system commands all whispered so it doesn't clutter up chat
you can rebuild them in the custom commands, and just turn off the default version
Alright, thanks so much
Hi, it looks like the redemptions API has changed overnight? The json response now includes "total":..."doc": which wasn't there yesterday. If you redeem an item SE responds successfully redeemed, but is not showing on the Dashboard pending redemptions.
But this doesn't appear to be on all channels. My testing channel Cardioboy72 - dashboard redemptions list is empty when i know there are items in the queue. Just checked with another streamer and his is working fine ๐ฆ
Okay it looks like the JWToken had expired and likely the old was was cached / being used. I forced a new JWT through the Dashboard, and the dash now works correctly,
However, previously working desktop apps which use the API (and with the new token) are now getting a 403 Forbidden ๐ฆ
I am looking to get API information for Donation/Tips/Redemtions from the store. I cant seem to locate this in the API documentation on github.
@narrow hearth https://api.streamelements.com/kappa/v1/store/<UserID>/redemptions?limit=25&pending=true
pending=true means items that still needs to be approved
Need some quick help, I used to use nighbot but want to convert everything with StreamElements, I had a <!hl> command it time stamped the stream and put it in a website. It was a custom api. This was the customapi link: $(urlfetch https://microbes.virusbot.xyz/api/v1/commands/highlights/create?channel=YOUR_CHANNEL&tag=$(query))
To setup the command through StreamElements I did ${customapi.https://microbes.virusbot.xyz/api/v1/commands/highlights/create?channel=ZLawheadPlays&tag=$(query)}
When doing this through Nightbot and you did !highlight in chat it would ask for a name for the highlight but this is just posts $(query) as the title. I tried to use ${args.word} and ${args} but none of those seemed to work.
If you can help me out that would be great!
${args.word} instead of $(query)
__
What variable should I use or what should I change?
@gusty wing ${1:}
1 for the first word after the command, : for everything after the first word. If you only want one word don't use :, if you want just the second word use 2 no :. And so on
How can I get it to do multiple words at a time @honest bone
Oh, I misread..
Np
Any possibility you can me debug a command
$(customapi http://gotme.site-meute.com/query.php?action=masteries&id=27291302&query=$(query)&channel=$(channel)&r=NA&user=$(user)&bot=Nightbot)
When you use it as a command such as !masteries it displays the currently selected league of legend masteries of the supplied ID
^I solved this so easily....I simply removed query
Ye
Now im running into a problem with a different command that calls the information from a current ranked game
I got in contact with the guy and he said he'd look into it~
๐๐ผ
Ummm, I have no idea where to start. I've seen the docs on github; still don't get it. Does the Api use HTTP Requests or WebSockets? How do I register my application? How do I get an access token from the user?
K, now I know SreamElements Uses HTTP Requests, but how do I make something similar to this in StreamElements??
https://streamlabs.com/api/v1.0/authorize?response_type=code&client_id=xVMeHTFiAxe4fKKxt5ZeRCcsaI5Tr0RA9xvTInFH&redirect_uri=https%3A%2F%2Fwww.google.com%2F&scope=donations.read
Can the custom api command post json object responses? If for example randomapi.com post something like "weather": Sun 70F "time": 11.43am and i want just the "time".
@wheat sphinx is there a way?
no, that is not possible
you guys are amazing, thank you โค
โค
I'm looking to get some information on the API if someone can help. For the activity endpoint, is the amount for subscription types how many months they just subbed for, or how many months in a row they've subbed? I'm trying to figure out if I can tell from that endpoint if an activity entry is a first subscription or a resub
Also this bug with your API just drove me mad for a solid hour: Your /points endpoint accepts the header Authentication and Authorization, but your /activities endpoint only accepts Authorization
The cheer cup isn't working? I received bits and they didn't appear in the cup ๐ฆ
@warm marten New cup very very soon
@honest bone why is your name so familiar?
ncs? 72hrs? monstercat?
72hrs
im everywhere on twitch
but not where I am ๐ pleb lol



Wish I knew the cup wasn't working before I removed mine ugh...lol
Preview of new cup btw: https://clips.twitch.tv/SnappyInspiringClipsmomAMPTropPunch
in a middle of a stream ๐ฆ I'll check it after
Hey StreamElements staff. Don't know there to write it, but i'm polish guy and I create polish streams, so would be nice if anyone could just switch description in default commands tab ๐
Instead of creating new custom commands which are copy-paste but in another language.
@honest bone that looks amazing
Heyo Devs!
I need help with a command I use for a streamer.
The command is !highlight and is used like this: !highlight 12 man rez as mecry.
It goes to a page located at http://tjockas.servebeer.com/highlight.php? with 2 GETs, "user" and "comment".
So I want to URL it tries to access to be like http://tjockas.servebeer.com/highlight.php?user=${user}&comment=${1:}
But when I edit the command and trigger it, it just replies with the whole command.
This is how I edited the command:
!command edit !highlight ${customapi.tjockas.servebeer.com/highlight.php?user=${user}&comment=${queryencode ${1:}}
Am I doing something wrong?
Nvm, just a normal programmer error, missed a closing bracket 


This might be an odd question to ask - but how does StreamElements manage the overlay editor part of the site? I'm learning some web development and was just curious on how it worked. I'd imagine a HTML5 canvas but I'm not super advanced so I'm probably wrong.
No problemo 
Good blog on the Giveaway system. But last tuesday you guys said the Sub Multiplyer was fixed and its not. My subs use the website and the multiplyer is still not applied. Also would be nice to know if the winner is following/subscribed to the channel. If have to go on a search to make sure that person is following the channel.
Hello there, I have a issue with the giveaways system. Yes it takes getting used to it, but is there a way to add where we can see who enteredt the giveaway? It'll make it easier for the streamer and the ppl that enter it. I can (as a streamer) read who entered so people that haven't still have a chance to do so?
@warm marten that is definitly on the list
You missed an e
That's awesome, because my old system I had I was able to do that. And last night I was confused about this system...
@honest bone I have lost a lot more than just an e.... my marble bag is pretty light anymore

Not you savoryy
Scalper sent me here: does streamelements use some sort of regex module? 
can it check through the viewer list to find certain words in names, and autoban them
we've been getting some vulgar names lately, if you know what I mean
link and specific word filters would be cool to for chat
Yeah it's not something we have right now, but overall a pretty cool idea
You can ban specific links / phrases with wildcards
for example me*
that'd match me meme memers etc
@obsidian hedge May I ask why you would ban someone because of their username? Seems unfair to the viewer
if a name alone is bad enough for you to ban it, please report it too
@jolly frigate becauuse BigBlackTriHardRapist isn't an appropriate name for my channel
@pure storm lmao gold
yeah that definitely seems banable. @pure storm
So just making sure I didn't miss it, but there is currently no public websocket implementation of the StreamElements Activities API, correct? All I've seen is the kappa endpoint and the tryhard endpoint but am trying to avoid polling if possible.
hi, is there a way to wipe the names off my points leaderboard once i import my old points from revlo? i have 5000 pages of names with no points.
uhhh, it didn't work. i'm not sure why though. why would it leave the names there? i reimported the points with only my name and my points. it's ok. ty for trying to help @wheat kelp
Hello ๐ Can the Subscriber Goal be changed where it doesn't count re-subs? I do giveaways everytime I reach NEW Subs goal and can't use the sub goal widged since it counts the re-subs as well (re-subs don't cound as new subs because it's still the same amount of subs remaining)
Howdy, it seems that when i use the cheer cup the image works but the bits never fly in. I was wondering if it was just me.
@presidentjacky#3877 current cup is a place holder. Cup2.0 is coming soon
@honest bone alright thanks for the quick reply, keep up the good work!
@here anybody know anything about a theme/overlay being develpoed for Dungeons & Dragons online play (like with Fantasy Grounds, etc.)?
@rose oar not currently in development..
It's probably worth noting in these reports that we don't actually get the $5. Maybe make the $4.99 sub show the accurate amount of $2.50? ๐
we had a huge argument about that in the office, some people get different rates, we decided to leave it
Isn't it an extreme minority that get different rates? Like premium partners?
Like you said it's up for debate, I just feel like it'd be giving more accurate data to the large majority of users by assuming it's 50/50
the result of the argument is that this is a Revenue Report, not a Profit Report
theres actually a lot of people getting less than $2.5
Oh, I suppose that's definitely a fair perspective. ๐
yeah, I get 2.31 for a 4.99 sub, but 2.49 for a twitch prime sub. and I know people getting less than 2 for a 4.99 sub
Hi , I was thinking about a Discord StreamElements bot to includes commands timers songrequest and stats on Discord with anouncements when one chanel in a streamer list is on live. It can be cool cause a lot of streamers use a Discord Server for them community.
@glossy turtle it has been requested a lot, it might be a thing one day, but right now it's very low on the priority list
Saw the bit cup went away (noticed it was broken prior to it disappearing). Is it going to reappear? My channel is begging for one! โค
Yey! Thank you all! Any timeline (because I'm your classic impatient comsumer XD)
i was told days
I can handle that! ๐ Thank you all for your quick responces!
To my beloved Devs ๐ Please please please can you work on a super theme for rainbow six siege ? ๐ I mean specific with its fonts & Design to the ingame overaly etc .... hopefully I did wrote without mistakes loI my English not the best ๐๐๐
@royal crag ^
WIll take this idea in concideration tnx ๐
thanks boys ;D
Hello devs!
Any chance to add some different payment method in future? like skrill or smth
More payment methods coming soon @pulsar willowLutrak#2160
discord tags are the worst
@safe lintel
Mobile 
The overlays are awesome ๐ whoever did that "I LOVE YOU!"
Going to use them for the first time live rn
However I have a complaint ๐ฆ My obs was working harder ๐ฆ
how many overlays do you have loaded on OBS?
@warm marten did you make sure to setup each overlay in a separate scene, and also set up the browser source to be "shutdown when inactive" ?
Yes on separate scenes no on the other part @finite heath
I'll check before i go live near time
ok so please try that
Hopefully I won't forget lol
Thanks for that advice
My fps on obs was wacky tonight
And frustrating lol
I'll keep y'all updated
great ๐
that trick will definitely reduce cpu/mem usage as it means OBS will only keep the overlay you're using loaded
hopefully it brings your computer's streaming workload back to a comfortable level
Not sure where to put this, but in the "Raffle" widget at the End Message part. Shouldn't the Available arguments be "{winner}, {points}" and not "{length}, {points}"? It's the same in Single and Multi.
http://i.imgur.com/thRQfAK.png
@waxen jetty it looks like the "end message" is right. The available arguments to my understanding is there as an option, however you don't have to use it. Basically as an example? Correct me if I'm wrong @finite heath
To me the "Available arguments" are a guide on which arguments that can be used in the message. And by that it would be kinda meaningless on showing how long the Raffle went on for. And that the option of displaying the winner in a message isn't there at all.
I use it and on mine it shows the winner, however lets move this conversation to #helpdesk-twitch ๐ I'll go check mine and will take a screenshot.
@waxen jetty https://gyazo.com/fd4eda4b2b291becf1a16136bba6095a and this is what I get in chat https://gyazo.com/6980e5d493b1c7fcfbc4d7b771019ef4
How does using a local browser source work? I was just using a html doc with a h1 to test things and had no luck. The h1 text doesn't show up, 
- asking in here cause ill be using SE API in this project.
Looks like I have to clear the cache, each and every time the file is updated. I'll see if updating it with JS fixes.
Still nothing
^ i am just really stupid to the point where someone should take away my computer plz ignore.
Is there a date when the API docs will be completed?
@jd_0950#9546 No ETA yet, but since new features are still being added, it will probably be updated once most of it is in place. You can use the "help" form in the bottom left corner, it has a lot of infos in it
@storm carbon Here is a very simple example
<html lang="en">
<head>
<title>My Overlay</title>
<style>
html {
color: red;
}
</style>
</head>
<body>
<h1>Welcome to my stream</h1>
</body>
</html>```
Save this code to your computer in a file called : "test.html"
In OBS, Add a browser source.
Check "local file" checkbox.
Link to your file.
Don't forget to press the "Refresh cache of current page" & "Refresh browser when scene comes active"
And a good practice is to check "Shutdown source when not visible".
I changed on my test the width & height to 1920*1080. But all depends what you're doing.
My code should display some red text like so.
it doesn't follow html5 spec?
@arctic compass it does
I did put the doctype in my example by habit ๐
yep, Cocci did put it <!doctype html>
was more talking about the "just h1" someone mentioned before
<!doctype html>
<h1>something</h1>
is a full valid html doc and should display fine
pretty sure the <h1> alone works too
@wooden pulsar it should work, but it's not a valid html5 file
it's more OBS not showing the page if you don't forcehim to refresh
Yep exactly
Better respect the HTML5 rules. But the browser allows some mistakes.
instead of using style, you can also put your css in the CSS field in the properties too
not the best practice but you can ๐
it's actually not a good practice to put your css into your html file, you should always create a separate file. Putting your css in that field kinda does the same thing then
I'm sorry and I'm sure that this may have been asked before, but will there be a desktop app or some kind of browser plug-in to save data to local files?
We have a desktop app. But it does not write to files, everything is cloud based.
Will it ever write local apps? My problem is that I can't use the "Press Start 2P" font that I need. It's a google font, but it doesn't work with the browser overlay.
Most likely not, and we know about that issue and we are trying to fix it
thanks
Where or how can I create an auto msg in the chat? Eg: Like every 1-3min post a advertising "follow me for giveaway".
answered in #helpdesk-twitch, for those that are hunting down support questions 
hm, having troubles to access the api, making a get request to https://api.streamelements.com/kappa/v1/users/me with authorization: api-token from https://streamelements.com/dashboard/account/information
always getting an 401 error
nvm, url https://api.streamelements.com/kappa/v1/users/me does not work (it's the one from the docs)
https://api.streamelements.com/kappa/v1/bot/commands same for this endpoint, always getting
{
"statusCode": 401,
"error": "Unauthorized"
}
do i have to use the api token or jwt token?
hm nope, tried it with the jwt and api-token, both getting the 401
@static wigeon would know...

Yeah it needs the Bearer KEY
trying not to distract styler
https://api.streamelements.com/kappa/v1/points/jerome724/jerome724 does not even needs authorization
Yeah that endpoint does not require any sort of authentication.

Here's an example from localhost: https://i.imgur.com/EQph8B1.png
xd
I'm here if you need help.
forgot the Bearer ๐
๐
aw yis working, thanks!
what is the difference between the jwt token and the api token in /dashboard/account/information?
Are you making a lib? 
โฌโโฌ๏ปฟ ใ( ใ-ใใ)
i'm trying
Please keep tables on all four legs pls
If you throw it on github, i might just contribute.
i know CSS
it is on github, but nothing it it rn, i'll post it when i have the first commit
^ 

haha, love it
https://github.com/jerome724/streamelements please don't kill me for my code style 

nice disclaimer 
(โฏยฐโกยฐ๏ผโฏ๏ธต โปโโป
NO โ(๏พเฒฅ็เฒฅ๏ผ๏พ๏ปฟ โปโโป
โปโโป ๏ธต๏ปฟ ยฏ(ใ)/ยฏ ๏ธต โปโโป
โฌโโฌ๏ปฟ ใ( ใ-ใใ)
โปโโป ๏ธตใฝ(`ะยด)๏พ๏ธต๏ปฟ โปโโป <- is another good one
Helping @jolly frigate cleaning up the mess
โฌโโฌ๏ปฟ ใ( ใ-ใใ)
so i'm not happy with the setup of the npm package i'm working on (npmjs.com/streamelements), anyone an idea what i should/could make different? like should i use for every endpoint one file to have a better overview? (doing that rn but somehow not happy with it :/)
Classes are good
Have a question for devs... kf this is wrong place i apologize...
How close are u to a bitboss like widget or add on alert?
Was just accepted into the bitboss beta and has a ton of cool features. But I'm really liking se
Looking at running both for most part. Just curious on time frame. Their beta adds a ton if other stuff beyond just their default bitboss
I don't believe we are working on it yet. + I believe gather.io (who owns bitboss) take 10% of donations or will become paid
Streamlabs is building one and it should be coming in September though. I think that's why they're asking.
any ETA on the rank that allows other people to control your commands and stuff
well, the rank is super moderator, and they can control your commands already from chat. For Dashboard access, it is one of the projects being worked on right now
Not sure where to post this but I wanted to thank you guys for creating Stream Elements. It's seriously everything I could ever need and more. Absolutely incredible! Thank you for making this!!
@static wigeon @gusty turret 
@honest bone ya. Streamlabs shared coming sometime in Sept and I tweeted SE and they replied easy
And ya there's a little cost behind it for the gather bot/bitboss beta
;)
anyone here programming in rust?
@pulsar willow what are you trying to achieve? keep in mind that this is not the purpose of this discord tho.
Just looking for someone who knows the language and yea I know ๐
@pulsar willow try here https://discord.gg/BQN6BYE
Is there a way to use the API to pull the details from the store redemptions? I can see the "https://api.streamelements.com/kappa/v1/activities" REST data, but unlike the store redemptions page (https://streamelements.com/dashboard/store/redemptions/items) it doesn't show any of the details.
are there plans to add the store to the API?
@pulsar willow go to your store and look in the network tab for the link you're looking for
@OneBadPanda#9232
We haven't published anything regarding the store.
But the endpoint is: PUT https://api.streamelements.com/kappa/v1/store/:userid/:itemId
Body: {
enabled: BOOL
}
Make sure you include your JWT in the header
authorization:Bearer TOKEN
Which you can get from here: https://streamelements.com/dashboard/account/information
and here's a way to get redemptions
https://api.streamelements.com/kappa/v1/store/<UserID>/redemptions?limit=25&pending=true
pending=true means items that still needs to be approved
this makes it a LOT easier. Thanks StreamElements! @copper skiff you're the best!
So I'm having someone ask me about making a team points system. Here's their request:
So when the viewers get points, I wanted to make it so they can "pledge" those points to something, in this case a "team" so to speak. So a command akin to "!pledge [x] to [team]" for example: "!pledge 50 green" and then the number value of "green" goes up by 50. And then find some way to make this data appear in my overlay.
I was thinking maybe if the streamer made several twitch accounts for each team and then using a variation of the give command for pledging. I'm not sure about fetching the data of the points for the overlay but I know there has to be a way to make so the bot can respond with how much each "team" has.
@ me if you give me a responce, please and thank you.
@open dock The streamer could just make a few accounts then have users make an alliase for "!giive" to be "!pledge". Then users can "pledge" points to a "Team" (which is just another twitch account) then make a command like"!check" Which can be used to check the points.
Example: Streamer has !pledge alliase and an alt account named Green
User: !pledge Green 50
Bot: Transfers points
User: !check Green
Bot: "Team Green has been pledged 50 total points."
(I hope that made sense)

can we get some candles in here? can't see anything

yeah, thanks SE

๐

@arctic compass y u no stream more

I want to thank all the developers and staff members of SE. All of you are amazing and I'm so grateful for the hard work you put in to make SE such an amazing tool to use.
Thanks to all the StreamElements devs & staff! Its a joy to use and is awesome! Look forward to your continued work in improving and expanding its capabilities!
We need to create a "Golden Book Channel" to collect all those kind words ๐ โค
Hey, You got any plan on a UWP app ? PC, Xbox , Mobile, Hololense etc ?
@brazen anvil There is a Windows app already. it's not a uwp app, but a regular windows app is easier to create and doesn't require validation for the windows store
So twitch extensions huh
takes notes.... hope u guys can compete!
will SE have an extension available at launch?
Stats on global emotes needs to be updated because
is now a global twitch emote.
Also !LUL is how you use the BetterTTV version of LUL now.
Hello. I just wanted to confirm a thing. The thing is, while I am in chat, I cannot see the Streamelements bot posts. It's not blacklisted on Twitch. On a new account I created however, I can see it in chat just fine. Is this a bug, and how can I help locate the problem?
ah, you are the guy from the reddit post ๐ I was just working on a response
Yeah
have you tried the /unban streamelements in chat?
and have you changed your name at al recently?
is it your channel, or someone elses
Somebody elses
ah, so the broadcaster would have to unban. Which channel?
I assume all of them.
I can chat in the channel fine, it's only the Streamelements bot, I am not seeing.
who's channel specifically are you looking at?
I was in TheHunterWilds chat to be honest.
that channel doesn't exist 
TheHunterWild
there we go, lol
's oops
there could be a chance he has turned off commands
Yeah I don't know. Though while the stream is running, everybody else puts commands in, though the bot doesn't show up in my chat. It's odd to see the commands, then no bot response.
I created a new account, then I could see the bot. I did it just to confirm, it's account related.
im in his channel right now, can you jump in and show me what you mean?
I see you put commands in, see the nightbot command return. THough not the Streamelements reponse.
Here's what it look like here.
interesting, seems like maybe you blocked the bot?
Yeah that's what I was thinking, though it's not blocked in my Twitch blacklist and I don't know how else I could do that.
It's not heart breaking, though thought you would maybe find it interesting.
Later.
cya, I am looking to see if there is a way that I can find out how to get that back, lol
@chrome pelican /unignore StreamElements
Try that
Not sure if it's still a command or not
@honest bone already sent him that info last night
i must of missed where you said unignore
Reddit post and DM:) he ran off really fast in the end, so I sent it many places
mmk
Hi @here ๐ I apologize if there's an update somewhere that I missed but any eta on having admin/mods access?
There is unfortunately no ETA
theres a kick ignore button on some extensions, you might of clicked by accidnet
And it worked.
ILMAO
Glad it did ๐
glad it worked ๐
blame twitch 
I must have been trying to follow a "verified" and mis clicked.
Thanks!
You so smart!
Anyway thanks again, I am glad somebody had a solution.
Makes me confident, this will work better than ever somebday.
Okay take care.
bye bye ๐
Any word on the cheer cup coming back? โคโค I'd like to merge my bots completely soon!
Soonโข
Lol sounds good man. 
lol
Hello, any coders in here?
there are a few that hide in the corners

429 | Too Many Requests | You are calling our APIs more frequently than we allow.
What's the limit??
I want to make server side requests/verification. Am I going to get this result when I call the API for different clients on the same WebServer/IP?
What endpoint are you hitting?
I'm trying to make a backend server keep checking for donations for many users frequently
Assuming I got 5000 clients connected to my backend server
The server may check for donations each 3 seconds for example
per client
php
I'd say connect to our websocket and listen for the topic: 'event'
There must be a socket.io client for php out there.
That way you don't have to poll, but rather just listen for events.
Perfect! Thank You.
sooooo.... Any eta on a stream elements loyalty twitch extension?
litterally....there'd be no shame in ripping off streamlabs implementation.
Why would we need one? why do you guys want one?
people wouldn't have to leave stream to do your loyalty shop....it get's more use and keeps viewer retention
actually, integrating as much of SE's stuff into an on screen extension would be ideal. This will be great for mobile when they get extensions out onto that.
Never going to happen

at least i dont think so, it would be very very hard to make that usable in mobile.
@foggy fulcrum viewers can buy stuff from your shop through the chat
As well 
Yea.....newer viewers won't know about that sort of thing tho.
Still, as far as LP stores go.....SE is the best setup still.....Streamlabs had a chance and I personally feel they dropped the ball on most of it.
Doing an extension, with a lootbox/crate drop type system for LP would be good. but that's about it really.
Every since i started talking on here, my biggest request is a BitBoss type widget.....as i'd love to be able to have donations affect it (which the original only integrates to streamlabs and gather).....and streamlabs made their own which has some cool stuff for follows/subs/donations (of course).
sorry....i probably should have split that up o.O
so DO you guys have any idea's (not plans neccesarily) to do with twitch extensions and SE?
Yes
Well, with that stance against having a loytaly extenion, why even have loyalty points at all? No one needs loyalty points, lol.
But in all truth and fairness, from what I've seen and used, a loyalty extension felt more natural for loyalty points. Like it felt like it was actually a part of the stream. Something you get for interacting with the stream.
@somber dew that got hateful fast :L
not hate, just pointing out a disagreement in arguement logic.
It also cut down on loyalty point command spam quite a bit, honestly
extension i think could be done right......but right now i'd still take what SE has vs the thing that labs released.....it felt half thoughtout
The bottom line is the "loyalty extensions" that were released today have many flaws. When SE releases an extension, whatever/whenever it may be, you'll be able to count on it being well designed and useful for both streamer/viewer.
I don't disagree with that at all. I'm not asking for a rushed extension, halfassed, pre-clentched piece of shit lol
I was just asking for if it was in the works, and a possible eta if it was. The anwer I got seemed pretty sarcastic. I could be wrong. I suck at reading emotions through text
streamlabs' attempt.....it felt like they were doing one thing.....saw what twitch was releasing.....and made a mad dash to cash in on it.
You can't even setup item quantities......so some of the stuff i run that manipulate how i divy out points (hour of bonus points for instance) people could just keep buying. while every other bot that allows for quantities i could control it.
and their alert trigger shop item defaults to your tip alertbox....wtf? lol
and sorry @somber dew for the hateful comment....i read it pre-edit. And kinda like you, when you don't know someone i can't read emotional context well either
no worries
A loyalty extension can only possibly be a more natural solution if all viewers are on a computer. We know from Twitch data that the amount of mobile viewers is rising every year (~40% of viewership last year). Overlay extensions do nothing for these users.
yet
A twitch extension can both have the capabilities of overlays and panels, no? If so, the panel space could be used for mobile devices
Have you tried navigating panels on a mobile device?
Actually, the extension panels don't show up on mobile devices, either.
yeah, nothing shows on mobile at this time
but to answer your question. Panels come out fine, at least for my chanel on my phone (galaxy s8)
the worst part about streamlabs loyalty is not only their lack of manipulation but the fact that you can only have one overlay extension, so if you want loyalty for your browser users, no muxy overlay, no op.gg etc
The one extension thing is where twitch faltered.
True, but that's still a big limitation at least for me
And we're in agreement
Stream Elements today my stream was a TNT! So I should be thankful to everyone and everything that was involved in my stream. It was giveaway but still didn't expect much... But it was a bang! I made a lot of giveaways with a big help of SE โค
โค
And now I'm tired in bed doing a lot of typo mistakes...
thats awesome @tacit knot ! Question, do you use the giveaway module in your overlay? If so, did it remove itself when the giveaway was completed?
It didn't work as I expected...
It just hanged there fort ever and didn't even notice the winner... But still all was great. PS if you have 5h+ you can check my last VOD hehe
Fast forward it...
I'll do small giveaway on Tuesday. Can test it one more time. If I'll be doing something similar of course...
@tacit knot can you explain to me the steps you took when you added the widget? The more details the better 
@wheat kelp the giveaway widget does not hide until the giveaway closes. I've tried different amounts of time on the "Hide after x seconds" slider in the giveaway widget but once the giveaway starts the widget remains visible until the giveaway is closed. I don't think it makes a difference but I didn't change any of the colors for the widget.
I added the widget, started a giveaway, let it run for a few minutes, and then closed the giveaway
I was starting and closing quite a lot of giveaways but the widget just stuck there...
@wheat kelp
How I added it ok:
- Went in to My overlays
- Go to overlay editor (the one with giveaway)
- Chosed WIDGETS tab
- Clicked add under Giveaway widget (with a yellow star)
- Possitioned My widget where I want it to be
- Clicked SAVE
- In OBS Add>BrowserSource
- Copy/Paste URL from SE web page
- Edited Width 1920 and Height 1080
- Shutdown source when not visible - I personally keep it unticked for a faster load (CPU load is not a problem for me because Im running dual streaming PC setup)
- Click OK and I think thats all!
All right thanks. This will help debug it.
no
Is there an push API for the stream stats? Like the email you get after streaming? I want to make it so it automatically tweets the info as received
Ignored ๐ฆ
If you are looking for something like webhook, they don't have that. The api does offer some rudimentary stream information through /sessions and /chatstats but I suspect the detail you want would come from twitch's api.
unless this is in a path of /sessions that is undocumented
Ah ok
@gloomy glen Hey man thanks for the contribution to the docs, we really appreciate it 
@gloomy glen 
no problem, McHelps where I can.

How do you contribute? I'd love to
check out their repos on GitHub. www.github.com/streamelements
I submitted to the api-docs hosted there. Fork, add content, submit pull request. sip drink.
Ok thanks
Any one like The Way i have This http://bacon.x10host.com/streamelements/
ohai @harsh willow 
o/
Just A update I've finished The Site i made with SE Api in php http://bacon.x10host.com/streamelements/
Can JWT tokens be re-generated?
Not sure if this is a question for here or #helpdesk-twitch
or is the JWT token the "personal access token" referred to in the security tab
@rose trout can't be regenerated, and ye it's personal
ยฏ_(ใ)_/ยฏ
Resetting the token will invalidate any previous JWT's
The API token is just about to be deprecated in V2.
But yeah essentially
Both just tell us who you are ๐
So will the button on https://streamelements.com/dashboard/account/security reset your API and your JWT?
Correct
V2 will have documentation around it all ๐
Thanks, good to know they are resetable in case of leak or something. Need to read up on JWT
Seems interesting
The token itself is still considered "valid", but we invalidate the payload.
https://jwt.io/ great website that explains the nature of JWT's
Yeah, I saw that earlier as a clicky clicky
I just read it
Interesting
I suppose it will allow you to provide limited access tokens for when mods/supermods gain access?
I also noted that the API token is included in the JWT payload ๐ so yeah, I see how they're linked
--> GET /bot/timers/:[ID]
<-- 200 OK
--> DELETE /bot/timers/:[ID]
<-- 404 with body Cannot DELETE /kappa/v1/bot/timers/
Any ideas?
--> DELETE /bot/timers/[ID]
<-- 200 { "statusCode": 201, "message": "Timer was deleted"}
Weird.
You need the colon for the get
but not for the delete
will put in an issue on github in an hour or so
and maybe a fix if i get bored? idk
Thought SE had an open source repo, not just open source docs 
Whatchu mean Willis
@rose trout Anything specific you are looking for?
Hello, I am running a node.js application. Is it possible to subscribe to stream elements loyalty rewards and receive a trigger in my application once someone redeems a reward?
@solar fiber our API allows a lot of stuff, you can find the docs here https://github.com/StreamElements/api-docs
Aye I already saw that but I didnt see anything about redeeming rewards ๐ฆ
Also streamelements.com website is lagging my browser today
We haven't published anything regarding the store.
But the endpoint is: PUT https://api.streamelements.com/kappa/v1/store/:userid/:itemId
Body: {
enabled: BOOL
}
Make sure you include your JWT in the header
authorization:Bearer TOKEN
Which you can get from here: https://streamelements.com/dashboard/account/information
and here's a way to get redemptions
https://api.streamelements.com/kappa/v1/store/<UserID>/redemptions?limit=25&pending=true
pending=true means items that still needs to be approved
sounds great @copper skiff Thank you!
Is the "Body: {enabled: BOOL}" Bool expression wether or not the item has been redeemed successfully?
like clicking the โ
/store/:channel/redemptions/:redeemedid sending it {"completed": true} will set a pending item to completed.
I'm not sure the link alu put on there, but /store/:channel/items/:itemid can be used to manipulate an item, like enable/disable it.
sorry, putting it into docs now.
Thank you SO much. I've been scratching my head at this for a while.
ok pull request is updated. you can wait for them to merge it with any changes they need, or go chase down my fork and take a peek.
also watch out on modifying a store item, if you leave things off like cost, it will set it to 0. Easier to fill more info than have it change info you don't want changed.
For now cost can't be a variable based on user input, correct?
like cost = 10x{userinput}
well meaning if you are updating a store item, and you leave the field cost out of the post data, it will change it to 0.
as for your q, no, it's a number. simply how many points the user must spend to redeem the item from the store.
Alright, sounds good.
@static wigeon I just thought rather than just putting in a github issue, I could put in a pull request to fix it too LUL
Since it's to do with inconsistency in the API, and the best solution IMO is to have consistent API rather than docs that match the inconsistency
guyz please more payment methods! 
More payment methods are being worked on of course ๐
also IDEAL ? ๐
very ideal. They also take quite a bit of paperwork, then integration once paperwork is done
i ment, IDEAL, its a dutch payment method
Ohh, I think somebody brought that up before
a lot of people use it tbh ๐
Yeah I imagine ๐
is there someone i can PM a question to? it is an API question. Thanks!
just ask here @spare trellis
ok, i have no experience with API and I want to export the list of users and their points to a CSV - just no clue how to do it...
@spare trellis check out the points api endpoint. You can use it to get a list of users if you request the number of users in your channel.
https://api.streamelements.com/kappa/v1/points/channelnamehere/top/80
ex: that requests top 80, which if you have 80 users, you get all 80. There might be another way, but that's a quick one you can do.
is it possible to do a command to read and write to a document ?
read and write what to a document? and what kind of document?
a txt file
ok and what data are you wanting there... the points info?
if so, you can put the raw json response in file by using curl.
curl -H 'Authorization:Bearer JWT-TOKEN' -X GET https://api.streamelements.com/kappa/v1/points/channelnamehere/top/80 -o filename.txt
If you are on windows, here's some powershell:
$uri = "https://api.streamelements.com/kappa/v1/points/channelnamehere/top/80"
$hdrs = @{}
$hdrs.Add("Authorization", "Bearer JWT-TOKEN")
Invoke-RestMethod -Uri $uri -Method Get -ContentType 'application/json' -Headers $hdrs | Select-Object -expandproperty users | format-list | Out-File -FilePath "test.txt"
i want to use it whenever ill multi stream and until now ive used ankhbot to handle everything
so i got this done $overwritefile("C:\Users\eier\Desktop\stream stuff\multi.txt","Support all the streamers by watching the multi-stream: http://kadgar.net/live/$target") Multi is set. Type !multi
and ill do !setmulti [targets] to trigger this and it will use the txt file and read and write info a the !multi will output what i told of targets
Stream Elements is cloud-based which means no local text files
You can create a multistream command easily using args though. One sec...
!setmulti streamer1/streamer2/streamer3
Response: Support all the streamers by watching the multi-stream: http://kadgar.net/live/${1:}
then !cmd edit multi <paste the response above here>
ok so whenever someone does !muli it will respond the link and whenever i want to change it ill use setmulti this way ?
right
setmulti will generate the new link
and then edit the !multi command by copy/pasting the response it gives
alright my coding has never been the strongest side so il try this
!setmulti
Support all the streamers by watching the multi-stream: http://kadgar.net/live/${1:}
that's the first command
!multi
Support all the streamers by watching the multi-stream: http://kadgar.net/live/
second command
there's no "reading"
you're taking the link it spits out and editing the !multi
you technically don't need the !setmulti
you could just !cmd edit the !multi
but I was showing how to do it like you had it before
no i cant do that cause i want admin rights to do the !setmulti and everone to do !multi
so whenever !multi is done it tells what the link is set to by the other command
only mods have the !cmd edit ability
At this time, there is no way to set a custom variable which is editable between commands, which is what would work for you
!multi can be used by everyone to show the link
mods can use !cmd edit multi to change the link in the command
that is the best solution that we can offer right now โคด
i see the "hard" way.. ok
does 8ball have a different api? i made a custom command for it because i wanted to make it cost points but all it ever replies with is "Magic 8ball says: user What do you think I am? stoopid!"
im using this ${customapi.https://api.alixe.pro/8ball/?user=${sender}}
you should be able to make it cost points now, they added the module commands to the default commands page
@open dock
Also, bad idea to expose your API URLs in customAPI
What stops me from draining someones points
@rose trout you need to be athentificate with your JWT token in order to do stuff like this https://i.imgur.com/XyYt4ou.png
Secutity 101
In his custom API?
https://api.alixe.pro/8ball/?user=${sender}
That's the thing I was saying
Or did I misread that
I thought he wrapped the 8ball API inside his own to make it cost points
@copper skiff But, related, can we make customAPI URLs hidden?
@rose trout Oh, you were talking about the link moo posted. that api just returns text, this isn't linked to the our loyalty points, so you can't drain someones points. And no, you can't hide links, but it might not be a bad idea.
Yeah, I thought he'd wrapped it so his service would take points using the SE API
I mis-understood ๐
But yeah, hiding links allows me to make mod only commands that redirect to external services (to do things SE can't currently do) without exposing the mod only API to randomers who browse to the URL
For comparison, Nightbot used to just say it was a $(customapi) if you did something inside it, and you would only see the full thing if you editted it (hence gating it to supermods)
The whole website UI is being revamped as we speak, maybe it will be a thing in the next version. But feel free to add it on our idea board, so if it's not in the pipeline already, it might become a thing
So, here's a random question. Is there a way to watch stuff like followers/events in realtime using the API, or is the only method to do some sort of polling using the REST api? I know some places have a WebSockets thing you can deal with (and attach an event handler to, I'm using Javascript), but I didn't see any mention of that in your API docs.
I've just started getting into Streaming. Anyone know a PayPal Donation element?
@leaden meadow if you go to tipping settings, we have a whole donation page set up for you that you can edit. Just put the link into your panels, and let the money flow
I hadn't see this channel 
There's lots of hidden nooks and crannies in this discord
welcome to Narnia!

Magic 
?
lmao
I am a fan of Narnia!
https://github.com/StreamElements/api-docs/blob/master/bot.md GET /bot is returning a mod field that is set to false, i verified the bot is actually a mod
ah, cool
i'll hold off on any more edits than ๐
hmm, keep getting no message errors on /bot/say
we dont do eta's.

so should /bot/say be working or am i waiting for the next version?
it'll work, all changes do is make things deprecated. in which case you just change the deprecated items.
i'm talking about right now, it doesn't seem to be working for me, wondering if it should or if it's a known issue fixed in the next version
gotcha, nvm as you were 
๐
"bot": {
"_user": "XXX",
"mod": true,
"muted": true,
"joined": true,
"name": "streamelements",
"enabled": true
},
"stats": {
"commands": 0,
"messages": 5,
"timeouts": 0
}
}```
Working for me
hmm, not sure why mine says mod false, does /bot/say work for you?
/say no
https://api.streamelements.com/kappa/v1/bot
oh
let me have a look
tested that wrong
i keep getting no message found, tried a bunch of ways
@brave ginkgo https://i.imgur.com/4Gh5G5q.png
Make sure you have the content type set to application/json
that was the issue, thx
i see the api has stuff to get points for channels that a person is a part of what about for listing the leaderboard of a specific channel
@fallow ridge We're gonna be upgrading the api / docs to V2 very soon
Hi all, Could someone explain me how you use that JWT token/authentication. Do people provide me with their token or how does this work?
It's used like so https://i.imgur.com/CbRybXm.png
And for the time being yes, people have to give you the token, but OAuth will be a thing in the future.
Okay, so I basicly build the code on my own JWT-Token and then automise by user who provided their key from their dashboard, yes?
Quick question, someplaces you have -H 'authorization: Bearer JWT-TOKEN' and some places you have -H 'authorization:Bearer JWT-TOKEN' in the documentation (without space before "Bearer") - does it make any difference?
no
Each header field consists of a case-insensitive field name followed by a colon (":"), optional leading whitespace, the field value, and optional trailing whitespace.
https://tools.ietf.org/html/rfc7230#section-3.2
Is there a way to enable/modify default commands through the API?
@pine bough I don't think you can, but if it's possible it would be with this https://github.com/StreamElements/api-docs/blob/master/bot.md#put-botcommandsid
@copper skiff Thought of that aswell, but I don't know the IDs. Thanks for the suggestion anyway ๐
Hi! Is maybe the api v2 out as promised? ๐ Thanx
I got you bae
Bamboozled

Any news on the Api docs v2.1? 
lmao
API docs v2? No v2.1... Ian is working on it. And it's coming along
Patience my child
To be fair, it's not like I'm doing something fancy with it. I just like playing around in Postman 

so is there any easy way we could go about modifying ground control
its all open source https://github.com/StreamElements/ground-control
Ground control is slot more basic than I thought 
Most of the logic is being done on the website itself.
Yeah. Electron makes it quite easy aswell
hey, any plans for picarto support?
They released a working API recently
https://docs.picarto.tv/api/
Streamlabs have api?
Streamlabs has an api, although they recently blocked many from using it.
We (Streamelements) have an api too, and we never block anyone ;-)
Its not blocked, it can still be used for many,
@potent parrot They blocked specificly us ๐
They also blocked their entire userbase from downloading their individual tip history in a CSV. Past months are only an aggregate total now. That changed 2 weeks ago 
@hardy cedar oh lol
sup. few questions. The api for /tips endpoint. Is the ID for each specific tip? Any url for test json or do I have to tip myself a few dozen times tonight to get data?

http://www.socicon.com/chart.php http://www.socicon.com/download.php would recomend using that
Icons will be there when users can login with those services ๐
๐๐ฝ
@wheat kelp wats the css element for the ip's so i can blur my own ips with Stylish
Just use inspect element
im only doing this since i just dont like seeing it
wgat 
filter: blur()
kinda like this but it shows everything when i did inspect
i had to use share x to use a example
For sure, wont be immediately tho
https://stats.streamelements.com/c/bacon_space @wheat kelp this used to work?
now it doesnt
report it under #helpdesk-twitch, lets keep this section clean for api related questions ^_^
http://bacon.x10host.com/streamelements/ also the Api is Broken for me
it tracked my stats
@wheat kelp thats the code
btw is this Safe doing it from api not hurting it?
@wheat kelp 
http://bacon.x10host.com/streamelements/ @turbid wadi @wheat kelp thanks 
<footer class="copyright"><a class="waves-effect waves-light btn">Reload</a></footer>``` How Would i Make This Actauly Work
this is Broken
@wheat kelp @turbid wadi Would love if the Defualt Pic was SE Logo I did a inspect Css to Just Show a Example
I'm getting a 404 on tips endpoint. It was working last night. Do these bearer tokens need a refresh?
Fix incoming
@wheat kelp will help you with idea 
๐ค Streamlabs ๐ค
Fk me
Sry
I have a site
That shows league of legends rank as a simple output
And i want to know if is possible get the data from the site and show that on the chat
Probably not since thier bot isn't set up to do http requests to those types of sites. They have it for pulling premade stuff from other stream sites via integration but I doubt you can with your website.
confirming the api is down?
we updated the api @eager junco
@eager junco the api isn't down, we upgraded today to version 2.0







or is it soonish
