#dev-chat

1 messages · Page 62 of 1

young shard
#

StreamElements doesn't handle any channel point redemption events unfortunately 😔

#

emulator side effect ye

charred pewter
#

dang hahaha

young shard
#

yea the emulated values are weird sometimes, the inconsistency is annoying but it should work fine live

opaque wasp
young shard
opaque wasp
#

That's so bad to hear 😔

elfin arch
#

the first part is the "list of channel point options"; this must be done with a Twitch API call. (or manual input from the user for each to list).

#

for a goal bar with Twitch Channel Points; you will first need the "bar" logic and setup; this could be a single session counter or more advanced cross session(stream) counter using the SE.Store.
An example to read Twitch Channel Points inside a widget is this; using the following: https://github.com/pjonp/pjTestBot/blob/master/modules/.SE_Overlays/emojiRotator/emojiRotator.js

Note: the HTML of this widget loads sePubSub_beta.js and adds the reward-redeemed to the event for the .js to read.

severe shell
#

I was asking myself the same these days. Unfortunately, there is not a visual place for that, but you can make a custom widget and call the respective API to collect that information. This one should work for you.

window.addEventListener('onWidgetLoad', async function (obj){
  console.log(obj)
  const apiToken = obj.detail.channel.apiToken
  const id = obj.detail.channel.id
  
  const seAPIFetch = await fetch(`https://kvstore.streamelements.com/v2/channel/${id}/customWidget`, {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
      'Accept': 'application/json',
      'Authorization': `apikey ${apiToken}`
    } 
  })
  const seAPIResponse = await seAPIFetch.json()
  console.log(seAPIResponse)  
})
twin zephyr
#

Not sure if this is the right channel. Trying to make a news ticker in SE overlays manager and want to be able to include latest sub, follower and all that jazz without having it as a 'tag'. Is there a string or {recentfollower.name} command I can use in just the 'text' textbox that will show tags instead? Thank you

kind tusk
opaque wasp
# elfin arch i have dug into this; and it is half possible for what you want; but would requi...

I just tried to reedem a reward from a stream while listening to chat events, I get a Custom Event object but it's not containing the reward name nor the amount of points spent. Looking at your code I can not understand how you can retrieve such informations. Any tip?

Talking about the first point, could some webscraping be the solution? Even if probably having the streamer setting them up via custom fields text boxs isn't a bad option too.

Thank you for letting me know about SE.store, I never know about it before now and it's just a great feature!

misty monolith
#

The reset labels button is not clear enough in what it does. I now understand that it wipes EVERYTHING, but I thought it would just reset the labels to how they were before I started manually adjusting them. This needs to be stated clearly in the "Would you like to reset your all your Labels?" modal or change the CTA copy to read "CLEAR LABELS" instead. 👍

#

Also... The copy in the modal is grammatically incorrect.

#

I would also suggest that you add functionality to "Undo" wiping everything, because I was building a custom sub feed... And now I have no subs to test with PepeHands

wraith flame
#

Hello. I have a question regarding the StreamElements integrated Chat Widget.
Is it possible to change it's corner radius? Doesn't seem that you can access the code sadly 😦

misty monolith
# wraith flame Hello. I have a question regarding the StreamElements integrated Chat Widget. Is...

I'm not a support staff member, but I don't believe that you can alter the code of the chat widget. What you could do instead to achieve round corners is inject that styling with CSS in the properties of the browser source in OBS. You could also use an image mask filter in OBS, but this will require you to make some kind of luma matte and can be a little tricky if you aren't working pixel-perfectly.

Hope that helps @wraith flame!

wraith flame
#

@misty monolith CSS in OBS worked. Took a while to find the HTML ID tough 😋

Thank you

inner lagoon
#

How do I get a list of the top sub gifters with the API?

misty monolith
inner lagoon
#

I've looked around for hours and it seems like there's possibly no public endpoint to get that data via streamelements

#

So if I need to make a call to the twitch API or something that's fine, but even then I can't find that e point via twitch either

misty monolith
#

subscriber-alltime-gifter

inner lagoon
#

That only pulls in the top one

#

Tried that already haha

misty monolith
#

I've found others asking for what you are asking for, but not a solution to your problem. If there was some way to loop through users like you can with the js in the Custom Widget, that would be ideal. Perhaps you can use the Top Gifters List widget and then build a scraper triggered by the subscriber-gifted-latest to get your leaderboard every time it updates. That seems a bit convoluted but it might work for whatever it is you are doing.

I also couldn't find anything in the Twitch API for this, only support for the bits leaderboard. So weird.

inner lagoon
severe shell
# inner lagoon yeah very weird, i messed with it for hours and could not find it either

I was trying to work on that some time ago, but could not go too far. I had found this endpoint, but I'm not sure if it is still working or reliable.
https://api.streamelements.com/kappa/v2/widgets/ACCOUNT_ID/subscriber-gifts/leaderboard?interval=alltime&limit=10&offset=0
method: GET
headers: "Authorization apikey: API_TOKEN" and "Accept: application/json"
YOUT_API_TOKEN and ACCOUNT_ID can be read from onWidgetLoad. obj.detail.channel.apiToken and obj.detail.channel.id, respectively.

inner lagoon
lime folio
#

Is there a webhooks/websocket API that would notify an application of an incoming StreamElements tip?

If not does that mean the best method to process incoming tips api (https://dev.streamelements.com/docs/kappa/b3A6NTM5NzIyMw-channel) on an interval? If so what are the limits on number of requests (nominal and rate)?

Currently in the design phase of a project rn, appreciate the help

severe shell
heady wren
#

Hi! How are you? I would like to ask for mega help, to know if it is possible: I have a project of a small game for my stream and I would like to use the stream elements loyalty points as "bargain currency" to buy some things inside the game. is there an address that returns me the amount of points for a user? as well as an address that removes some points or adds. i saw a similar system in another bot, but i would love to know if it is possible here in elements! Thank you very much

inner lagoon
#

and my channel id and apikey are all right because if i change it then it errors out

#

although strangely the built in widget is also not outputting anything...

tawny nebula
#

Hello, unsure if this is the correct channel to ask this.

I am trying to change from Streamlabs over too StreamElements and I cannot get my alerts to work the same.

What I am trying to acheive is for the latest alert for dono,sub,follow,etc, to remain static on screen until a new alert presents itself. On Streamlabs this was acheivable by making the outro animation for x event None, but on SE I am unable to figure it out.

Any support on this?

pastel dew
#

Is it at all possible to make it so an Overlay made by someone else (NeoHUD by Neoshin in this instance) have a custom font from your computer?

pulsar willow
#

Is possible to use stream elements on play station?

stoic drum
#

Looping back to this example. Is there any way to bypass the character limit, if the streamer wants longer message for each option?
I've seen some examples with customapi's that return random results, but is there a way to return specific results based on the roll?

opaque wasp
#

Is there a way to get the amount of Channel Points spent from the Channel Rewards messages event?

elfin arch
elfin arch
#

For the second part; I don't think webscraping would help. Either manual user input for each one they want to have like the example i have. Or go with a 'token' approach to get a list of all rewards and that will also unlock the cost

tepid matrix
#

hellom im streaming with twitch and i use steamelements for the overlay's.
is there any way to create a field in an overlay that responds to a "!command" from a bot?
e.g. when a !command is given in the chat that a movie or GIF is started in the overlay?

stoic drum
# elfin arch There is no way to bypass the character limit. How long are the messages that yo...

So, if the command utilizes an SE API, even the messages that API prints out is limited by the character limit as well?
I was thinking of recreating something like @low sierra's "DJ Khaled's keys to success" but replace it with d20 rolls (1-20) with lurk messages based on the number of the roll.
!lurk - "You rolled a 1, you try to sneak away from chat, but you trip and fall flat on your face."
"You rolled a 7, ..." and so on
Is that possible? Do all of those messages add up to the character limit then?

dire bronze
#

Hi I just recently changed my name on twitch and reloaded into stream elements to that it appears correctly. But now none ot the Bttv emotes are displaying, only text. Help please?

dire bronze
old magnet
#

Hello there 😄 i tried to edit a Animation into the Text that pops out of the Alert Box... i wanted to make a slicing in the Text like Ninja uses for his Sub Alert and followed a Yt Tutorial but got into trouble really fast. i am not really got in Programming with Javascript,HTML and CSS so i really have no idea how to implement this Idea in the Alert Box widget. Does anyone have an Idea or even an Explanation/Tutorial for this Problem? (The Text should be doubled, so that it fits perfectly over and be masked so it has a cut in the middle, after 2 seconds both halfs would "fly" away so it makes the illusion of being cut or hit by a lightning and slowly drifts away from each other, after this the "New Follower/sub" Text should fade out and the Name of the Follower/Sub should appear, that was my Idea)

vagrant wing
#

So I probably can't get help for this since it seems chaotic but all my accounts apparently vanished: I signed in like normal and it came up as a new account, everything is gone. Has anyone ever had this happen?

hardy walrus
#

Did you have multiple platforms with us?

vagrant wing
#

Twitch and youtube, Twitch was my first and it was originally made last year.

hardy walrus
#

Did you make a request to have either one of them "disconnected"?

vagrant wing
#

I actually had them linked already.

severe shell
#

Remove the bot from channel and after 10 seconds, add it again

#

Also logout from BTTV and try to login again.

dire bronze
#

@severe shell I'm still not getting it to work. I tried logging out of everything and clearing all the cookies/cache and then relogging back in.

#

When you said to remove bot from channel, do you mean to mute? Or un mod?

severe shell
dire bronze
severe shell
#

So it is not SE related, actually

dire bronze
#

Weird. Cuz the emotes are showing up fine in the same browser when viewing on twitch

#

I reinstalled the extension. Let me restart the browser and check

#

Still just showing up as text

#

If I create a new chatbox overlay it still shows up as text as well.

hardy walrus
#

@vagrant wing And just to be sure you had your twitch and youtube linked to discord as the 2 accounts had linked?

dire bronze
vagrant wing
#

I never had them linked to discord, I had the accounts linked on the streamelements site. I had a third account that was also separate from the other two and even that suddenly vanished. The last time I used SE I had the separate one open to work on overlays and the twitch one at the same time because I needed some info from it, I got logged out when I closed my computer and when I signed in again today that's when it all reset.

hardy walrus
#

Not that. I mean are the twitch and youtube accounts you have connected to discord right now the same ones you had linked?

vagrant wing
#

yes, same email.

hardy walrus
#

So if you clicked your profile pic in the top right corner it had both of them there or just 1?

vagrant wing
#

it had both.

hardy walrus
#

And you never clicked this link here and the delete bit for either one?

uneven oxideBOT
#

There is no easy way to unlink 2 owner-type accounts from each other. The only way is to make a closure request from here: https://streamelements.com/dashboard/account/security

WARNING: In submitting a closure request, all linked channels within the account will be deleted and you will lose all associated data. This includes overlays, custom commands, timers and past data (tips, subs, etc). You can still reconnect with the deleted account, but you are essentially starting fresh.

vagrant wing
#

Before I connected them, I did for the youtube one nearly a month ago and nothing ever happened because it technically didn't have the email within the account information where you have to fill it in. Do you think it just finally went through after all this time?

opaque wasp
dire bronze
#

@severe shell are you still able to help me with the bttv emotes? Or am I just out of luck? I had my mod that has full control try login on their side and post an emote, and its still coming up as text within their browser of stream elements. Not sure if this info helps at all.

severe shell
dire bronze
#

Yes

#

On their side and on my side

severe shell
dire bronze
#

In the stream elements chat box. I'll post a screenshot

dire bronze
#

so it is showing up like this in the stream elements viewer in the browser and in SLOBS preview

#

This is what it looks like in twitch chat:

severe shell
# dire bronze

Hmm, okay, so it is SE related. I thought it was only on Twitch chat. Just a minute and I will check what that can be

severe shell
severe shell
# dire bronze No, nothing pops up

That's very strange, it is not even showing Twitch emotes, it is like your Twitch account is not connected to Streamelements. Let's try just one more thing:

  1. Close all pages on your browser
  2. Visit https://streamelements.com/logout and then log in again by connecting with Twitch.
  3. On the right side of the dashboard page that opens, select Join under bot settings. If it says Part select that and then select Join to send the bot to the chat. Don't forget to mod the bot by typing /mod streamelements in your channel if you have not already.
  4. Open the Kappagen widget and check if any emotes will appear in there

If those steps don't work, I will send your user and account id to the staff to check, so they can check if there is anything happening

dire bronze
uneven oxideBOT
dire bronze
#

Username: Hot_Cookers
Account ID: 618d64dcbfcb80a93ded1586

@severe shell @uneven oxide
Old username if needed: BorrowedPizza

severe shell
dire bronze
severe shell
viral patrol
severe shell
dire bronze
#

@severe shell it's showing up now!

#

I think it's working again.

#

I feel bad that it was that easy, unless things changed on your end in the meantime.

#

Thank you for your help

kind tusk
# viral patrol I am not sure if toggling overlay via REST API is currently working. Also make s...

KeiZar told me that some dev said that the api endpoint is currently broken and that there is no eta when to expect a fix for that. So i will have to look for another way to toggle and skip alerts via my streamdeck in the other room. @viral patrol Do you know of any other solution to be able to get this done via some kind of web request, websocket or other tool via my streamdeck? the official OBS.live streamdeck plugin does not work in my case it requires to have OBS running on the same machine where the streamdeck is connected. How does the official OBS.live streamdeck plugin send the toggel requests to the SE-Servers? What kind of API or webrequest is that tool using? Can i use that in any way?

viral patrol
severe shell
dire bronze
silk mist
#

hi

#

how the hell all of u wake up very early

humble bane
#

hi im trying to have stream elements automatically update a !lastkill command when i use !clipkill to clip it. the clip is being generated but the !lastkill command isnt being updated is there some api i need to make it work

silk mist
#

hi

elfin arch
untold pawn
#

guys I would really want to go deeper about creating commands on SE, I already have a goal, but no direction about where to start, what do you think about it? I have very little experience with progamming

elfin arch
elfin arch
gray cobalt
pulsar willow
#

hello i am getting this thing saying my paypal id is not valid but i did make a paypal account so can u help me out !

opaque wasp
thorny garnet
#

Good night. Do you know how to use a conditional and 2 possible options in the commands tab?
Thanks in advance.

severe shell
thorny garnet
severe shell
thorny garnet
#

Thank you so much, I really appreciate it :D

charred pewter
#

why isn't there a weekly top sub gifter? It has weekly for everything, and then sub gifts is just sessions or all time lol

pulsar willow
#

Hi guys. Cant find countdown widget that time expends when some one make donate. For example u set 2h and countdown begins. For example u set 1euro= 1 minute time expand. Good will be when i can setup max extend time for example i set 5h. After i get this 5h by donation there will be some alert that conditions are done. I stream on YouTube . Can u guys make one? 🙂

pulsar willow
#

ah kk ... nvm. I didn't read that you stream on YT. 🤦‍♂️

mild cipher
fleet copper
#

Hey, any idea who could I report issue with SE API?

thorny garnet
#

@mild cipher
Something like, using the same command for 2 possibilities.
I. E.
!love
But when I use "!love" just like that, it selects a random chatter and throws away a message like... "Streamelements: srn_ec and a random chatter are 50% in love"

But if I put an username after the command I.e. "!love maria32" it throws away the message like...
Strramelements: srn_ec & maria32 are 50% in love.

mild cipher
thorny garnet
#

@mild cipher ok I'll give it a try 😄 thank you so much...
EDIT: It worked. Thank you so muuuuch!

pulsar willow
granite acorn
#

Hey, I've come here because I have a simple question but couldn't find an answer in the docs or online. I have made a subgoal, and right now when it receives a sub, it just "+1" itself but this is bad for two reasons, first of all a resub makes it go forward when it shouldn't, and a tier 3 sub doesn't add 3 points to the counter. I was wondering if there was some event when subbing that just gave me the new subpoints value, like what I get with "onWidgetLoad" and its detail.session.data["subscriber-points"] property.
There is a tier property that is the tier of the sub times 1000, so I could use that, but that doesn't solve the resub pb, and also emulating resubs is not possible in the current overlay editor.
I don't know if I make sense, thanks for your consideration anyway.

misty ledge
#

Video on Command Widget. How do I get the video and audio to trigger via 1 command (the same command)?

pulsar willow
# misty ledge Video on Command Widget. How do I get the video and audio to trigger via 1 comma...

Afaik this custom widget uses an if-else-block to trigger the particular video/sound.
This means that if one condition is met, no other condition is evaluated (and therefore only the first video/sound is played).

    // some code #1
} else if (message == userOptions['command2']) {
    // some code #2
} else if (message == userOptions['command3']) {
    // some code #3
} else if (message == userOptions['command4']) {
    // some code #4
};```

I think the easiest solution is to modify the JS code of the widget and split the if-else-block into individual if-clauses.
(Basically you just delete the `else` in front of the `if`s.)

```if (message == userOptions['command1']) {
    // some code #1
} if (message == userOptions['command2']) {
    // some code #2
} if (message == userOptions['command3']) {
    // some code #3
} if (message == userOptions['command4']) {
    // some code #4
};```

Now the conditions are evaluated even if there was already a match.
misty ledge
void oyster
#

@mild cipher could you assist me in trying to figure out how to turn the countdown api (4th pinned message) you made into a twitch chat command? Appreciate any and all help. Thank you.

severe shell
#

You can use it as an example. So every time someone types !countdown it will answer how much time left until the date

severe shell
misty ledge
pulsar willow
quiet eagle
#

Hey guys - does anyone have experience the the twitter module on the bot (Where it post live tweets from accounts to your twtich chat) That has not been working for some time.

glass edge
#

Short question: Is there easy access to "Chat Command Counter Variables" in the overlay editor? Sth like {countername}?

misty ledge
sharp ridge
#

Hello everyone, is there a way to somehow transfer your currency from Streamlabs Chatbot to Streamelements? Would like to use Streamelemets, but unfortunately the people there then no longer have any points and would be very happy to take them. I don't know if I'm at the right place here.

hardy walrus
#

@sharp ridge chatbot or cloudbot?

sharp ridge
severe shell
hardy walrus
#

@sharp ridge As I'm not at PC I can't give exact instructions so I'm winging off of memory. I'm extremely certain I got them right.

#

Click the 👤 in the bottom left of the bot then cloud export. Set a folder of your choice then click export split files. That should have all of the points/hours there.

#

HOWEVER

#

Because our importer/loyalty does watchtime different you'd have to make changes to the column to properly import lest you get shorted the correct amount.

sharp ridge
#

@hardy walrus I now have to convert the file into a csv. At the moment it is an xlsx file and will not be accepted. How do I change this now? Weil would like to take away points and time. Inserting commands worked wonderfully

hardy walrus
#

If you can wait about an hour and half or so I can be more certain about what to edit while at my PC.

sharp ridge
#

And unfortunately I can't use Excel because I don't have a full version. Is there another option to edit this?

hardy walrus
#

Yup.

#

Google docs.

sharp ridge
#

Okay, I'll wait then and you can report as soon as you get to the PC

sharp ridge
#

@hardy walrus I have it with the dots. The question now is, what do I have to change on the column so that it also correctly recognizes the hours?

hardy walrus
#

How many entries are there?

sharp ridge
#

59

hardy walrus
#

Then this is easy then.

#

It has the column headers right?

#

Saying which is which.

sharp ridge
#

Right. Name Points Hours

hardy walrus
#

Could you screenshot it?

sharp ridge
hardy walrus
#

There's supposed to be 2 or more column in addition to that.

sharp ridge
#

This is what it looks like, and that's all there is to it

manic verge
#

I have a suggestion in mind. Developers from Youtube don't give proper api to build a proper chat bot which can be used in Live Streams well you can say Streamlabs chatbot can be used which is kinda useful but when it comes to proper api its not an api its a software which you need to run in physical machine. What I'm suggesting is can you guys be able to build a api system for us so we can authorize our youtube account by which we can use that as chatbot but with proper api so we can send automated text without any software but using se api.
Just a Suggestion. Developers you can tell me your opinions
Also Googleapis for constructing custom chat bot is shit can't even read messages realtime the api usage throttles just for just 5 min of realtime chat reading

sharp ridge
#

@hardy walrus Are you already home and can you help me? I have to convert the whole thing from hours to minutes ... But I have no idea how best to do it ...

hardy walrus
#

Apologies

#

I'll be there in about the next 10 15ish

sharp ridge
#

Okay thanks. I will be waiting for you. Because I would do the same thing tomorrow with another person who also wants to change. And if I can, I can pass it on to her

hardy walrus
#

Ok. Gimme a sec to test a few things.

sharp ridge
#

Okay

hardy walrus
#

@sharp ridge Now I have what I need.

#

You'll need to do a little typing but only 2 things.

#

Column 3 is the hours which need to be converted.

sharp ridge
#

Right. They have to be converted into minutes

#

How does it all work then?

hardy walrus
#

For each "cell" from the first number to the last you'll have it look like =Multiply(NumberAlreadyThere,60)

#

And this is just for the hours column.

#

Everything else can be left as is.

sharp ridge
#

Do I have to type in the number separately for each line or can I just pull the whole thing down?

hardy walrus
#

I'll need to see about doing that because it was a PITA looking for this but yours shouldn't be too much of a pita.

sharp ridge
#

Can I write to you privately? then I would send you the file where I have it on Google Docs. I want to publicly post the link here

hardy walrus
#

gimme 1 sec. Might have it.

sharp ridge
#

Okay

hardy walrus
#

@pulsar willow Repost. You're fine now.

pulsar willow
#

thank you @hardy walrus 😄

pulsar willow
# misty ledge I used your version of the widget with the else modification. I have the animati...

Seems like this behaviour is caused by the cool down, yeah.
Setting it to 0 Seconds is no option, I assume?

If that's the case, here is version that uses a global cooldown:
https://jsfiddle.net/9vns76j5/
https://pastebin.com/NAWWaR8N

At least in my tests it worked.

frank garnet
#

I don't know if this is the correct channel to post this on, but I'm on Firefox, and everytime I try to access the Streamelements website, it'll say it's loaded, and all I see is a blank white page.

uneven oxideBOT
#

@frank garnet ⤵️

Our Dashboard and Overlay Editor are Chromium Optimized. We strongly recommend using Chrome. Opera GX and the new Microsoft Edge Chromium might work closest to Chrome as its also Chromium built. Firefox also works, but some things might look a bit different or not work. We do not recommend using Internet Explorer with our Dashboard as it does not support functions.
If the website doesn’t work on chrome, be sure none of your plugins is blocking our website or clear your cookies. You can try if the website works in an incognito tab.

balmy yarrow
#

Does streamelements support custom html/css/js for the chatbox?

hardy walrus
#

Not the stock one.

old cairn
#

Oh nice, got your api access form back up and running

#

what a fortunate timing...

balmy yarrow
toxic copper
#

I don't know where to post this but on the website under chatbot modules there's a typo, with the Emote combos module where it says "Cangratulates chat for spamming the same emote" instead of "Congratulates..."

dusty oxide
#

hello!!! I need some help with a command i have in Nightbot that i want to get working in stream elements. Its a command that calls to an alias to look up warzone stats. Can someone help me?

fast swallow
#

hi, I have no experience in coding but would like to know how difficult it would be to create a widget that displays a number that increases with the number of followers i get? (eg I start off with 10 and each follower increases that number by 1)

analog pecan
#

Ok, not sure if this is the right place or if someone also asked this. I imported my scenes from SLOBS, but I can't seem to find how to change the link for the Chat box, and Alert box. And I am afraid to delete them because I can't seem to find those options when I try to add sources to the scene.

hardy walrus
#

you don't.

#

It's a singular link.

analog pecan
#

So How do I add a either that doesn't use a streamlabs URL?

broken coyote
#

If you imported a chat box from sl to se. The chances of it working are very slim

finite wraith
#

Hey have a problem with stream elements, my subs and followers no longer update my alerts are not displayed in the stream make a test alert, for example, this is still displayed please for help

eager forge
#

Same. I noticed it today as well y with Subs

finite wraith
#

But it's been since yesterday

opaque wasp
#

How can I contact @true gazelle ?

restive plinth
#

so idk were to ask but I'm trying to set up a alert box in obs studio, but when i test it looks fine in stream elements, but on stream its cut in half & making the box bigger doesn't do anything it just makes the cut alert bigger.

uneven oxideBOT
#

@restive plinth ⤵️

The default resolution for StreamElements overlays (theme and custom) is 1920x1080. Please add them in OBS at their full resolution and use CTRL+F to fit to screen if necessary. You can then downscale your stream in OBS settings > Video if you'd like https://i.imgur.com/6bWXxjR.png

restive plinth
#

thanks!

runic cloak
#

I'd like to make a custom widget, but I'm not familiar with the streamelements events or fields. Could I get a list that would help me get started?

untold saddle
#

I was told to ask about this here: I'm using ${1} for a command to pull a value, but is there a way to force the response to be uppercase? Thanks in advance.

patent slate
#

Is there any if statement functionality for custom commands?

hardy walrus
#

@patent slate Unfortunately not without a 3rd party API.

young shard
runic cloak
#

Thank you.

scarlet sage
#

Hi, I'm having trouble getting Nightbot to import into the StreamElements bot. when I click import it brings up the pop up to accept, but when I do it closes and nothing changes. I am logged into bot SE and NB and have both tabs open. Am I missing a step?

stone thorn
#

Hi I'm having a issue with the raid shadow legends sponsor I picked up. The tracker doesn't pick up mobile players who download the the game. I just want to know when is it going to update of is there anything I can do for the follower to help them to make sure that the contribution is being counted towards the goal?

true burrow
#

How can i merge my 2 channels (Twitch/YouTube) on streamelements? When i try it, It says "channel already claimed" can anyone help me? Thanks a lot

narrow belfry
true burrow
#

There's no way to "delete" an account from Twitch/YouTube from StreamElements... However, thanks For the answer

narrow belfry
#

For about a year or two ago you could delete the account from StreamElements in settings 🤷

#

But zero clue if that is still possible but should be. And no clue if that breaks more than it helps (if it helps at all)

uneven oxideBOT
#

@stone thorn ⤵️

Please contact us via email for support with your campaign or sponsorship. You can use our contact form here: https://streamelements.com/contact Thank you.

hardy walrus
#

@true burrow couple things

uneven oxideBOT
#

Account Merging - Please note:

  • Merging accounts only allow faster ways to switch between accounts
  • Merging accounts does not allow data sharing between accounts - different streaming platforms, different type of events
  • Merging accounts allows duplicating/sharing overlays between the accounts

If you understand the limitations of merging and want to proceed, please find the JWT tokens (!jwt) from both accounts you want to merge and fill out the form here: https://streamelements.com/contact with each token correctly labelled

#

There is no easy way to unlink 2 owner-type accounts from each other. The only way is to make a closure request from here: https://streamelements.com/dashboard/account/security

WARNING: In submitting a closure request, all linked channels within the account will be deleted and you will lose all associated data. This includes overlays, custom commands, timers and past data (tips, subs, etc). You can still reconnect with the deleted account, but you are essentially starting fresh.

hardy walrus
#

You can link them but no unlinking if you wanna remove either.

true burrow
#

Thanks!!

pulsar willow
#

Hey guys! hoping this is the right channel to put this but I'm looking for some dev help to code integration for DLive into OBS/OBS.Live. I've already worked out how to integrate the DLive chat into OBS via a deepdive through the website which has helped so many of the DLive streamers, but there's no native support anywhere on any broadcaster for the platform so i'm trying to solve that issue. Currently caught up on the OBS native docks system and I can't figure out how to tell OBS to load docks on the platform switch

hardy walrus
#

@pulsar willow Unfortunately as we have 0 integration with it there's not really much we can help with.

#

And I'm saying that more towards I don't believe anyone here is familiar with their api.

pulsar willow
#

I'm getting more familiar with it.. i'd love to help

severe shell
floral prism
#

Is there a way to include Extra Life or other charity donations in the Event list? Or to have a list of recent donors when doing charity streams? I know there is the alert box but that goes away.

zealous nacelle
#

?? I don’t know where to ask this! I could be missing something.

Is it possible to make another Twitch account be a Bot through StreamElements. Like GPJesBot and then the Bot is able to say things in chat, or make another Bot that you can change the name of that can chat on the stream.

Also, are sound commands a thing? I have yet to find how to add them if so.

Those two things are the only things I have through another bot service and I would like to change that.

hardy walrus
#

Hey there Jes! lemme get you a link for the sound commands.

uneven oxideBOT
zealous nacelle
#

@hardy walrus I would have never thought to look there. Holy!

keen owl
#

Hey sorry, how did you do this?

hardy walrus
#

I saw your tweet Matt.

#

Having fun learning the conversion?

keen owl
#

Whoops, got it, nvm

#

And yeah, I am

hardy walrus
keen owl
#

I thought I needed to generate a thing in HTML/JS instead of just putting {amount} in the HTML

#

I didn't know {variables} would work in the HTML; for some reason I thought they had to be spans

#

@hardy walrus My only question is that is there a way to remove the 8px padding that seems to be around boxes? I'm using a grid in order to basically recreate the "Row" template without padding and centered text, but there seems to be something there regardless, from a parent

hardy walrus
keen owl
#

Sorry, will communicate it better

hardy walrus
#

You were

#

Unfortunately my interaction in here is a tad limited since I can't understand this for heckers.

keen owl
#

Oh no worries!

#

I shouldn't have assumed

plain tusk
#

hi, how do i get custom chat widgets to work, ive tryed to use custom css code i found and cant get any to work

patent slate
#

Does anyone have a good guide for deploying a custom API on your personal website?

mild cipher
viscid oyster
#

is it possible to use StreamElements to play an alert when I sell something on my own webshop?

patent slate
floral badger
#

Is there anyone known of combine deebbot api with streamelements widgets i want to feed tekst from deepbot readfile as api into overlay of stream elements

mild cipher
patent slate
red vine
#

hello! is there an API for the loyalty currency? I'd love to make some games for people to gamble with it etc

final owl
#

is there a command variable that lets me target a user and also have the person sending the command in the same response and how do i get my loyalty system to convert to elements from labs

keen owl
#

So why would a preview in my editor (and in a browser preview) not match up with my OBS?

#

(Both are the same alert)

hardy walrus
#

Screenshot the canvas for OBS and editor window.

keen owl
#

OBS for the scene. The 1080p window is fitted to the preview.

#

Not sure if this is what you want; the window isn't zoomed in or out atm

hardy walrus
#

Not the properties. The main obs window.

keen owl
#

Ah sorry

hardy walrus
#

0.o

keen owl
#

Because like, the CSS that I have working on the web should work in OBS, right? Like, there shouldn't be a shift in anything.

hardy walrus
#

Why isn't it showing?

#

You've got it enabled

keen owl
#

Well sorry I hadn't tested it. One sec

#

Same alert test

hardy walrus
#

I do see the text poking over the image in obs.

keen owl
#

My only thought is that my browser is applying some kind of CSS my OBS isn't?

hardy walrus
#

Unfortunately it's past my bedtime so can't ponder further. Will boop someone to see if someone else can get a look at it.

#

And I meam that as I work tonight.

keen owl
#

Thanks, apologies. I'm going to reset my CSS to default and tweak it from there; maybe I've customized a bit too far and something's loading on SE's end but not OBS

broken coyote
#

Normally this is because OBS runs on a older version of chrom

keen owl
#

Would you want me to copy/paste my HTML and CSS?

broken coyote
#

Your gonna just have to make changes to make it align correctly in obs

keen owl
#

yeah np

#

I think... it fixed itself? I'm confused.

pulsar willow
#

When you save your alert on SE, do you clear the cache on OBS too? I've had issues like that but after going into the browser source and clicking the clear cache it tends to change it

vagrant lake
#

hey guys i'm trying to import my alerts from streamlabs but it doesnt seem to be working. any tips?

marsh quiver
plain tusk
#

What css,html and js code do i need for a twitch chat box?
been trying for hours and so far only got a black background, no text
i just need a working code to start off of

red vine
#

@plain tusk ^^^

plain tusk
#

i cant modify that the way i want, i need acces to code

red vine
#

i would probably just make a custom element and just use the twitch API if you wanna code form scratch

plain tusk
#

ok search up twitch api and cant find any thing about how to make a chat box

red vine
#

what is it you want to do?

opaque wasp
#

How can the slider into the Custom Fields that bad looking? Anything I can do to improve it?
https://imgur.com/a/B8rNvBY

Here is the code I used to achieve it.

{
  "screenDuration": {
    "type": "slider",
    "label": "How much should a screen last? (s)",
    "value": 5,
    "min": 5,
    "max": 100,
    "step": 1
 }
}
river radish
#

Question. Why does my widget section only have 3 items? I'm looking for a widget that will allow SE to pull my Superchatters for the night and show them as end credits. Thanks

runic cloak
#

I'm wondering if there is a way to import one of my own custom overlays into another. This way I can easily copy my custom widget to multiple overlays.

hardy walrus
pulsar willow
severe shell
severe shell
# river radish Question. Why does my widget section only have 3 items? I'm looking for a widget...

I'm not very familiar with Youtube streaming platform, but we have 2 custom credit roll widgets for Twitch so you can check the code and edit it to meet your needs (probably just change the key-values for Youtube on JS tab):

Credit Roll for your Stream End scene
#widget-share message

Cinematic Credits for your Stream End scene
#widget-share message

Youtube specific key-values can be found here:
https://github.com/StreamElements/widgets/blob/master/CustomCode.md#youtube

severe shell
pulsar willow
#

I was told to ask this here.... I created this widget and want the scrolling text to show multiple labels on one continuous line. So I have the message as "Latest Follower: {name} Latest Subscriber: {name} etc.." would this make it show the same name for each label or would it show different names for each one?

severe shell
pulsar willow
#

I have searched for resources to see what would be needed but did not find anything to useful as far as my desired outcome

severe shell
plain tusk
near walrus
#

Hello! I'm not sure if this is the right place to post this. I'm trying to add a custom Donation goal widget - I have HTML, CSS, and JS files for it. I'm having trouble with it actually showing up though. I add custom widget - add in the HTML and CSS - and the animation for it shows up, but it doesn't actually link to Donations

Similarly, I'm trying to add a custom chat animation, which I can't figure out how to do at all. I have an HTML and CSS file. Thanks for any help!

pulsar willow
broken coyote
near walrus
broken coyote
#

sure you can DM me

opaque wasp
severe shell
opaque wasp
chrome dawn
#

Hello, could anyone check if giveaways is working? I am testing the giveaway function on the dashboard and when I tested buying tickets with !ticket 1 or !enter in the chat, nothing happens. Could only buy it in the public page.

hardy walrus
#

enter command isn't enabled.

chrome dawn
#

oh

#

omg

#

@hardy walrus thanks

shut venture
#

Hi @ocean fractal , sorry to bother you, I'm using your Yet another chat widget (love the animations on this one) but I noticed that when I switch from the game scene (on which one I don't have the widget) to the chatting scene, the chat isn't up to date and only the last message sent is displayed. It's like it don't listen until I switch to it. As far as I remember the basic chat from SE was up to date when I switched from the game scene to the chatting scene. Is there a tweak I can do to change that ? Thanks for your time !

ocean fractal
#

Howdy! That sounds strange. I'd make sure it's the same browser source that you're using in both places. Also maybe try making sure that the checkbox "Shutdown source when not visible"

cyan shoal
#

Hello everyone! Does anyone else have a problem with the username "cassamame" on their StreamElements alert box? For some reason, any alert box I use with that username will not print. It will print "cLul", "cMrDestruction" or some other fake name with the letter c in front of it.

runic cloak
pale summit
#

Hello, I don't know if I'm talking in the right room but I have a problem that a source browser I have, when I test it in the browser it's perfect but when I put it in the obs, it looks like it erases a line of code from CSS and the source is "deformed". The image with white background is on browser and black background is on OBS.

shut venture
#

@ocean fractal Well I don't have that browser source in the gaming scene, only in the chatting scene but it shouldn't be an issue as the basic SE chat is properly working that way (the chat is up to date when I switch the the chatting scene).
I checked and the checkbox isn't activated.
I did some troubleshooting and recreated new scenes, same issue.
Only the last message sent before the scene switching is available on the widget, every message sent while the game scene is on screen don't appear on the chat 😕

ocean fractal
#

hmm I'll poke around a little bit

feral vapor
#

Is there an auto shoutout feature?

severe shell
zinc nest
#

Is there a way we can get recent events from multiple channels into 1 browser source? I multi-stream so I was wondering how to have all my platforms recent events turned on at the same time

feral vapor
#

He said it was the streamlabs bot and I didn't know if there was anything like that in streamelements

severe shell
severe shell
#

The response could be something like: Hi ${sender}, welcome bla bla bla - https://twitch.tv/${channel ${sender}}

feral vapor
#

Okay cool thanks

wispy forge
#

Hey! Does anyone know how to do an API command? I'm switching from Streamlabs Chatbot so would like to know to do it.

severe shell
deft solar
#

on-screen animated alerts for all things (host,raid,bits,subs,etc..) do not show up on stream when in a live situation, but do show up in OBS when testing while settings up alerts.
accont ID 6036a11c3a0323848c50acc6

severe shell
# wispy forge No worries!

You can use something like !cmd add dbd ${customapi.https://site.to.api.com/${1}}
It really depends on the website you have the information you want to catch

uneven oxideBOT
#

@wispy forge, posting suspicious links will result in not being able to post again.

severe shell
#

@wispy forge send me the link via DM

#

In case anyone else also want commands for dbd as @wispy forge asked, you can find the documentation here: https://moobl.io/dbd

cinder frost
#

Hey guys I need some help

In obs for example you can mask a camera to fit a border to your liking and i wanted to know is it possible to do it for the stream chat

severe shell
cinder frost
severe shell
cinder frost
#

Thanks so much ❤️
Ill try take a look and see what i can do

graceful topaz
#

Hey there everyone, I have been using the Alertbox overlay for about a month and I've started having massive delays on alerts displaying if not displaying at all, can't seem to find any solid fix to it and wanted to reach out here.

hardy walrus
#

@graceful topaz there was a derp a bit ago that should be resolved.

graceful topaz
hardy walrus
#

Correct

graceful topaz
#

Okay thank you!

keen owl
#

Hey all. I've been working on a really simple alert widget project, and I was wondering if there's a way (probably through CSS?) to keep the alert from being visible once it slides out of the 100x500 box I've set up as the viewport. GIF here:

elfin arch
keen owl
#

Yeah, but how would I trigger the "hide" after the animation is done?

keen owl
shut venture
#

@severe shell @ocean fractal Okay I found the issue, if I use the widget with default settings, it work but as soon as I choose to use Bounce-in for the new message animation and a direction (I had UP since now) it show only the last message sent. If I use Slide-in, no more issue, so it's related with the bounce one and if a direction is given too. Do you know it could be fixed or do I have to use slide-in animation from now on ?

pulsar willow
#

anybody know how i can make a very simple tally counter for (ej: a word or emote) through the stream elements bot?

#

tysm in advanced

pulsar willow
wraith basin
#

I cant change the secondary text font only for my main sub alert.

#

It glitches out like that and it doesnt save any setting from the font option to the text shadow option

#

this slider also doesnt work. It switches to off everytime

subtle dagger
#

Hey all! Super dumb question but I'm trying to transition from Streamlabs to Stream Elements and imported all of my alerts via a Chrome extension.

The issue is that it set the canvas size to much smaller than I need and I can't for the life of me see the option to change the canvas size. Anybody know how I could do this?

hardy walrus
#

@subtle dagger go back to overlays and click the 3 dots for said overlay. Choose properties and change there.

subtle dagger
#

Absolute legend! Thanks mate

opaque wasp
#

Is it possible to edit/delete/add custom fields from JS? I'm planning to give the user the possibility to edit the content.

ocean hamlet
#

has the custom bot name feature been removed from ground control? I cant seem to get the option to appear in settings.

hardy walrus
#

It disappears randomly after period of time but even then it's not recommended to us as it's no longer being updated and buggy at time.

gray wind
#

Hi, where can I find the syntax for label widgets? Like how to make them display recent bits, follower, sub, etc?

candid spade
#

Hello not sure if this is the right channel for this but I was trying to setup a SEpay thing for my YouTube channel. It tells me that I can't do it. I have enough Subscribers and I live in a country that is supported. I am supposed to contact support for help?

sharp junco
#

hey guys im not sure what chat i need to be in but i need some help i need to refreash my stream elements as i got a major follow botting last night and ive pretty much fixed most of it but streamelements

ocean fractal
#

just overwrite the js with the following

#

it should prevent adding animations to messages when the browser source isnt visible

#

should, at least. 🙂

ocean fractal
nocturne parcel
#

Goodmorning, I am building a widget but i getting something not right. With this code everything is working and getting updated except for one value and thats the name of the "tip-session-top-donation". Everything loads fine with the "onWidgetLoad" but when i send a test donation i get the text "tip-session-top-donation" as name, the amount is updating fine.

I hope you guys can help me.

`window.addEventListener('onWidgetLoad', function (obj) {
let data = obj["detail"]["session"]["data"];

$("#top-dono .name").text(data["tip-session-top-donation"]["name"]);
$("#top-dono .amount").text("€" + data["tip-session-top-donation"]["amount"]);
$("#sub .name").text(data["subscriber-latest"]["name"]);

});

window.addEventListener('onSessionUpdate', function (obj) {
const data = obj.detail.session;

$("#top-dono .name").text(data["tip-session-top-donation"]["name"]);
$("#top-dono .amount").text("€" + data["tip-session-top-donation"]["amount"]);
$("#sub .name").text(data["subscriber-latest"]["name"]);

updateEvent(data);

});`

elfin arch
elfin arch
#

ya... swap the session with like a weekly or alltime and test that... the "session" is only active during live streams

nocturne parcel
#

It's because it needs to be the session top donation not for the whole week, month, year 🙂

elfin arch
#

it should fix itself when stream is live. it's been a while, but i don't remember exactly.

#

there were some quirks when i worked with the 'session' labels last time and i'm trying to remember.

elfin arch
#

ya; i just used default 'no user' and 0 for my code in the onLoad for session if there is no data. I had issues with that because it could be all empty from last stream or have info from actions that happened while offline.

#

for s&g's do you have data here:

#

(in the session Data tab)

shut venture
#

@ocean fractal No problem for the delay, that wasn't a big deal. Anyway, your solution work perfectly, you rock ! Thanks a lot !

nocturne parcel
elfin arch
#

so, expect everything to be empty or clear when the next stream starts... unless there was an offline tip, sub, follow, etc

nocturne parcel
elfin arch
nocturne parcel
obsidian bone
#

Hi all, I'm hoping this is the proper channel to ask for help. I'm transitioning from StreamLabs to SE (for obvious reasons), and I am building a new overlay using the "Connections" template. The thing is, I stream at 1440p ultrawide. While I am able to change the size of the canvas to the proper resolution, I am having trouble trying to scale the layers.

Basically, the template has grouped sections of layers, such as a "Left Side" containing the text and icons for "Recent Members" "Recent Subscriber" etc. But unlike when I have these overlays in SLOBS or OBS, I can't scale the "Left Side" layer as one. I can only adjust the size of the individual icons and text boxes.

Is there a way I can resize a group of layers as one?

tiny hound
#

Alright, recently I have been having the issue were my alerts won't always play. Bot is connected fine, commands work fine. However its like 50/50 on if alerts will play. Anyone have any suggestions

bitter bay
#

Hey Guys. If found the official API description https://dev.streamelements.com/docs/kappa/YXBpOjc1NTM5-se-api-docs

But I'm missing a kind of PubSub or possibility to subscribe to alert events. Do I miss something or is there no possibility to subscribe to any events?

Currently I have my own local implementation of alerts and alert list. But I'm catching the tipeeestream donations via their api. And I would need something similar to be informed about any donation on streamelements, bevore I could change the provider.

Any help / info would be highly appreciated.

bitter bay
#

Another question: I see that I could submit a custom widget. Would there be the possibility to add a widget just for own purposes. Something special which would be definately not interesting for other channels, just for my one?

sonic sedge
#

is stream elemenst compatible with WebM format alert videos?

#

so is there no way to import custom alerts from Stream labs to Stream elements with out it breaking?

bitter bay
#

I assume that SE will support WebM, of course.

terse crest
sonic sedge
#

mk so i'm trying to import my commands now. i have my data.xlsx but it keeps failing i checked the spreadsheet and verified there is no header any idea of any other reason for it to fail?

eager ginkgo
eager ginkgo
eager ginkgo
plush field
#

Hi!
Does anyone have a !hug command with a count attached to it? Specifically, how many times ${sender} has sent this command to a specific ${user}?
Currently, I have this:
${sender} just used Bear Hug on ${user}. ${sender} has hugged ${user} ${count ${user}} times.

All this gives me is the number of times this ${user} has been targeted with this command, and not from the specific ${sender}

severe shell
mystic kraken
#

If that doesn't work, try this:

#

${sender} just used Bear Hug on ${user}. ${sender} has hugged ${user} ${count "${user}_${sender}_hug"} times.

bitter bay
#

@eager ginkgo Thank you and @terse crest Just changed my code for websockets with Streamelements. Looks fine currently.
So I will probably switch from Tipeeestream because you give me much more possibility for custom enhancements and api usage ❤️

thorn obsidian
#

Well i have a problem Stream elements is not allowing me to add nightbot i'm pressing import now on nightbot it come up as Nightbot auhorize application i press allow and nothing else happens

severe shell
severe shell
thorn obsidian
#

i've done it 9 time and still t no luck

#

i don't use edge is there another way tried turning off popup blocker didn't work

quiet eagle
#

Hey Dev's not sure if this is the place but one of the support team members said they were raising my issue to Dev's I am not sure how this is tracked.

The twitter module for the bot is not working (Where you place a twitter account and it posts tweets in your chat).

terse fiber
#

Is there a good process for creating streamelements widgets using front-end libraries like vue?

opaque wasp
elfin arch
sonic sedge
wispy pike
#

Looking at the API access application, its pretty clear that my own use-case is not especially catered to...I have several small applications that are made on a commissioned basis for individual streamers who are hoping to switch away from a competing service, but the current flow involves them doing OAuth with a localhost redirect (my application serving as the server to receive the credentials on a non-standard port to avoid collisions with other servers that might be running). Obviously I don't have a website set up for any of this since the entire auth flow is done directly on the client's machines and I really don't want to be holding onto credentials I don't need on my own hosting. These are also very niche programs that are not really meant for general consumption, but streamers have come to rely on for their own use. Do I need to set up a website just to serve as an OAuth2 proxy of sorts just to be able to continue as I have been for years as I port over stuff to SE?

#

I do have a website set up that just hosts tools that I've made available that only work when hosted, but its not currently set up to handle anything OAuth related

hardy walrus
#

@wispy pike Fill the form out and explain your use case. That is the better way to discern what may be needed to have done.

wispy pike
#

ahh the only issue is that it asks for a website as a required field, and while I have one, its totally unrelated to the tools

hardy walrus
#

Try localhost or the lovable 127.0.0.1 in place if it explicitly needs an entry.

wispy pike
#

that will certainly be whats in the redirect uri at least xD

#

but thats how it actually functions when you need oauth for locally hosted tools

hardy walrus
#

Yeah. It's not something we can really handle here as that requires consideration by the API people who hold the special keys.

high sand
#

Hello! I'm just hopping in here because I'm implementing a realtime event listener for some custom layouts we use and are migrating from "elsewhere". I have it working for everything, except for sub gifting for whatever reason. While it works when I simulate the events (the event:test event) when we had a 5 community gift sub live tonight, it came across with an undefined listener and I didn't put the full payload into a console.log statement. When I attempted to retrigger the event via the dashboard, it does not fire an event. (The individual subs do fire subscriber-latest and I can catch those, but not the overarching 5-gift event.) Does a 5-count community gift sub fire a different type of event than subscriber-latest with bulkGifted = true?

hardy walrus
#

Not firing via the activity feed to my understanding is a known "bug".

high sand
#

That makes it an expensive QA process 🙂 I was more surprised it came across as an "undefined" listener when it actually happened live. I think it also triggered five times so I'm thinking it was sending me each individual sub (which is actually what that "elsewhere" place does) but it wasn't putting it in a listener I could catch...and like I said, I forgot to console.log the whole payload until now.

#

I will say that other than this it was a very straightforward porting process so kudos for the amount of work and documentation put into it

terse crest
high sand
terse crest
high sand
#

I'm sure it's working as expected, I'm just doing that "trust but verify" thing 🙂

terse crest
#

Never trust the data :)

hardy walrus
#

Just like the users aha

terse crest
#

Will we ever have support for using widgets as a "components"? Like if I have the same widget on multiple overays and changing the code - it updates everywhere?

sonic sedge
vestal atlas
#

Hi!

I am confused about the function of "widgetDuration" and "resumeQueue".
I have read the documentation but can't make it work.
Documentation I've read: https://github.com/StreamElements/widgets/blob/master/CustomCode.md#resumequeue-method-and-widgetduration-property

Fields:

{ 
  "widgetDuration":{
      "type": "hidden",
      "value": 15
  }
}

JS:

window.addEventListener('onEventReceived',(obj)=>{
    const data = obj["detail"];
    if(data["listener"] === "message"){
        var command = data["event"]["data"]["text"].substr(0,  data["event"]["data"]["text"].indexOf(" "));
          if(!command){
            command = data["event"]["data"]["text"]
        }
        console.log(command)
        setTimeout(()=>{
            console.log("resuming")
            SE_API.resumeQueue()
        },10*1000); 
    }else{
        SE_API.resumeQueue()
    }
})

The message events are not held for the widgetDuration as expected.
It just starts the "setTimeout" then handles the next message event without waiting for the widgetDuration.
Do you have any idea about what I've missed?
Thank you in beforehand saishoNoLove

charred pewter
#

I am trying to not use my JWT in the code, referencing an example on the github for obj.detail.channel.apiToken, however the value returned is not the same as the JWT so I don't think it is working for the PUT requests I have

severe shell
charred pewter
thorn obsidian
#

Im still having rubble with this

#

Stream elements is not allowing me to add nightbot i'm pressing import now on nightbot it come up as Nightbot auhorize application i press allow and nothing else happens

severe shell
# charred pewter JWT Malformed was the response. I presume there isn't any way to discretely pull...

Which value are you trying to obtain? Are you trying to use apikey as authorization or still using Bearer?

authorization: `apikey ${obj.detail.channel.apiToken}`

And no, there is no way to have the JWT in the widget editor without adding it directly (unless you have a webserver elsewhere that can handle the key for you and store it safely so you would call it somehow).
You can use SE_API and store you key in there and call it using SE_API.store.get function, but that is not the safest way either (although the key will be only on your database.

charred pewter
#

im PUT the sessions/channel subscriber-goal value

severe shell
charred pewter
#

Just have to settle with the JWT

pulsar willow
#

What is the recommended way to integrate hidden fields ("widgetName", "widgetAuthor", "widgetVersion") to the group structure of a custom widget?

When I define them without a group, they create their own empty "Fields" group.
When I put them into an existing group, they seem to add empty space.
When I give them their own group, I have an useless empty group.

pulsar willow
#

my alerts are not working on stream

terse crest
opaque wasp
# elfin arch you'd want to include the token in the constructor and also change the topic to ...

I'm trying to make the edits on the sePubSub_beta.js file, but there is a thing I can't understand:
At line 76, why did you put channel_points_custom_reward_redemption as message.type instead of reward-redeemed? According to Twitch APIs documentantion the first one is built for working with EventSub and not with PubSub? Should I make any change on that? You also said that I need to modify the message Object, infact I noticed that into "Example: Channel Points Event Message" on Twitch docs the message object is different from yours, should I look at it when building mine?

coral tendon
#

hello i would like to ask if will be in the future an option to livestream through streamelements irl? i know that there is app for android but if there will be app on iOS. Thanks

uneven skiff
#

idk where to put this, but i modified one of the goal bars (Hype Goal by @slate badger) in widget share, and it works fine when i test it.... but it doesnt work in my stream. idk what im doing wrong. i reset the "goals" in data visulization settings , and it has numbers in it that are accurate to whats happened this month, but its not effecting the goal... i tried just using the original widget too and that isnt working either, and it does that same thing where it only works when i test it.... so i dont think i broke anything? idk. i dont know how to get this to work. Has anyone else used this widget with no other issues?

stark rune
#

Is it possible to write our own chat bot modules? There's quite a few features missing that we'd like to add

slate badger
terse crest
void tartan
#

Hi everyone! I've found an error in the credit roll widget and think some peeps might benefit from it (there's an issue with the Username font size)
Is there any way to submit that ?

austere aurora
#

Hi everyone. 👋 With the upcoming removal of some on Twitch's old APIs I don't think I can keep up my custom stream notifications - which were badly written anyway - so I figured I'd move to StreamElements and have a much easier time.

So I'm working on translating my existing alerts to widgets in SE, with custom widgets / CSS and such. One "feature" my "implementation" had was the ability to include the profile icon of the person following / raiding etc. I don't suppose that's something that is exposed by SE?

hardy walrus
#

There is a widget that does that iirc.

#

Awesome shoutout I believe.

austere aurora
hardy walrus
austere aurora
#

Ah okay it gets the avatars through decapi.me. Thanks!

pulsar willow
#

I thinks this is the right place to ask, can i copy an overlay from one channel to another, now both are using SE as i just brought my company account over too

pulsar willow
#

ahh yes, i had to connect both accounts (add my company account to my personal) and then use my company account to edit the personal account and i could save the copy to company account, long winded but it worked.

slate badger
#

Not everyone can share using the share links

uneven oxideBOT
stark rune
#

Also, I didn't see anywhere to add custom chat bot modules. Where is that located?

severe shell
stark rune
austere aurora
#

One of my layers is not appearing in OBS, any idea how I can dig further into what the error could be?

16:26:24.420: obs-browser: se-widget-alertbox 1: Something broke while showing an alert [object Event] (source: https://streamelements.com/overlay/scripts/vendor.js:61498)

I have a custom events layer which appears fine but my alerts, based on the default alert box, are not showing up.

#

Actually I just tried it again and I had something visible VERY briefly, but it printed that same message.

#

It works fine when previewed in Firefox. I will try Chromium.

#

It's the sound playback! Ugh

#

And the file uploader doesn't allow me to upload .ogg files.

#

Huh. I could upload .ogg files from Chromium. Not sure what the issue there is. My old stream notification site played fine in Firefox when testing.

tribal zenith
frigid flower
#

this is a continuation from #general-chat so basically i managed to add a custom chatbox type beat with the custom widget right but now how do i make it like

Work

Like how do chat show up

tribal zenith
frigid flower
#

i am but its not showing up veenaCry

#

o

tribal zenith
#

then your widget probably has an error somewhere. Try just logging the event in the console and test it again

#

okay, if it originally was made for Streamlabs you have to adjust some code

#

@frigid flower you can write again

frigid flower
#

phew okay good i did a lil oopsie

#

thing is id have no idea what code that is

tribal zenith
#

If you want you can PM me the code

frigid flower
#

yes siiiiiiir

pulsar willow
fringe crypt
#

Hello directed over here with my troubles - the subscriber roll widget does not work for recurring subscriptions in the 1 week an 1 month selection - only all time works properly

pulsar willow
#

Is this the channel where we ask help with developing overlay/widgets and things?

pulsar willow
atomic sentinel
#

I have a Account issue. I accidently Made another account for Trovo instead of just adding it to my main Account. Is there a way I can Merge the 2 accounts?

gloomy mulch
#

anyone knows how to delay a label? and hide it after a set time? I want to animate my labels in and out, I get that you can do it with alerts but for labels I cant find the animation for it

honest verge
#

I've been told to post this here to see if it's possible to find a workaround:

"Hello, I have a question:

Is there a way to change the color to just {amount} and {currency} without touching {name} with the overlay creator? Can it be done through OBS' CSS?"

buoyant dragon
#

Hey all, I'm new here, and I was wondering how I could make a scratch built follower progress bar with a custom design? What tools would I need to do this, and where can I find (preferably beginner friendly) documentation or tutorials on how to do this?
I'm going to sleep soon, so please ping me

pulsar willow
severe shell
# buoyant dragon Hey all, I'm new here, and I was wondering how I could make a scratch built foll...

There is a link for Overlay Editor documentation on the title of this channel, where you can find the information you need to create your own widget. You can simply create a blank overlay on "My overlays" page, then Add widget > Static / Custom > Custom widget. Go to "Open Editor" and remove everything from all tabs, so you can start creating a new one. I don't know how beginner you are, but you only need HTML, CSS and JS for that.

But I really recommend that you start getting a custom widget on #widget-share that is similar to what you want and then you can modify it, so you have a place to start and understand how it works.

uneven oxideBOT
#

@atomic sentinel ⤵️

Account Merging - Please note:

  • Merging accounts only allow faster ways to switch between accounts
  • Merging accounts does not allow data sharing between accounts - different streaming platforms, different type of events
  • Merging accounts allows duplicating/sharing overlays between the accounts

If you understand the limitations of merging and want to proceed, please find the JWT tokens (!jwt) from both accounts you want to merge and fill out the form here: https://streamelements.com/contact with each token correctly labelled

severe shell
severe shell
elfin arch
green yew
#

Are there any guides or setups for setting sound clips using the points from the loyalty section? In addition to controlling how many points each sound clip can cost when a command is typed to play it on stream? When I tired googling for this, it keeps bring up StreamLabs (Which I don't use) since I use OBS.

elfin arch
#

Twitch?

green yew
#

Yes.

elfin arch
green yew
#

Sure thing.

pulsar willow
#

I was directed here:

My friend is thinking of doing a coworking stream and viewers can add their own tasks thru commands then said tasks will show on stream and once they're done they can take it off thru another command. Problem is, my friend and i haven't figured out how to do that? 😅

elfin arch
pulsar willow
#

hmm

#

im having trouble with my quote command, i have the !quote on, but i cant findthe way to add quotes and i cant find if there already is a !addquote command

#

ty in advanced

clear breach
#

Question, I am certain it's possible to make a custom widget refer to a chatbot variable since we have the bot count widget, so I am curious on the how. I would like to pull a command variable and have the javascript update based on that variable's value.

Beamer, can you explain what you are trying to do in a bit more detail, I might have an idea on how to solve your issue

clear breach
#

perfect~ thank you pjonp

elfin arch
#

For the onLoad (get value on start) and save (after a change) .... i'm not 100% on this; but you might have to make API calls

elfin arch
eager ginkgo
#

@broken coyote I need a lawyer… ^^

pulsar willow
mortal saddle
#

Good morning! I just got started with StreamElements after having used Streamlabs for several years. I only really have one question, and it's about the alertbox in the overlay. Is there a limit to how many variations you can have? I found out the hard way that Streamlabs has a limit of 300, and this doesn't seem to be a question most people run into. So I figured I'd ask here. (And yes, I know 300 alerts sounds like a lot, but trust me, it's important to my business model LUL ) Thanks for your time!

elfin arch
#

I don't know the limits; but .... 300 might be cutting it close. In that situation; i'd say break it up into several alerts that are not likely to overlap

mortal saddle
#

Each of my alerts has a different value assigned to it (For example, one alert is $4.85 and another is $70.07). Each one is a separate "variation" with different settings (and some are visual, using a .webm instead of audio only ones that use .ogg)

#

To clarify, I'm curious as to the amount of individual separate alert variations I can have, not the length or file size of a single alert.

elfin arch
#

The limit is based on the total size of all variations and settings. There isn't a 'fixed' 500 maximum; it's basically "this is as much information the database can store in a single Object"

mortal saddle
#

Ah, I see! Thank you for the information!

elfin arch
#

When you hit the limit you will know 🙂 .... i wish i had a better answer; but I'd recommend breaking them up into some smaller "overlapping" alert boxes. like "even numbers" (1.00, 5.00) then 1-50 "decimals" (23.23) .... etc

#

make it easier to edit too with 300+ alerts 🙂 ... i have like 20 and get lost in it hahah

mortal saddle
#

So effectively I would plug multiple alertboxes into OBS, but only the relevant one would activate when necessary

#

Oh believe me, I understand, I had to make a public Google Sheets form to handle it all LUL

elfin arch
#

you would make 1 overlay with say 3 alertboxes each with 100 variations that are on top of each other

#

hahaha; the google sheets.... this is the dev channel; so my #1 recommendation would be to custom code the bad boy and pull from the sheet 🙂

mortal saddle
#

I wish I had that skill. I have a "system" where if my chat can set off all my existing alerts within a 2 week period, I make and add 5 new ones (which is how I went from 25 alerts to 300), and the way we keep track of what has and hasn't been set off this "cycle" is just with tick boxes beside the alert names on the Google Sheet. I have wanted for SO long to be able to automate the tick box process, to where when an alert goes off, it automatically checks the box. But no one I ever talked to could figure it out LUL

terse crest
elfin arch
mortal saddle
#

I'd say around 260 of the alerts are just audio with the "X donated X" text, but around 40 of them are visual alerts with audio

mortal saddle
elfin arch
#

what @terse crest said is 100% true; (if you make them cookie cutter). but ewww ajax and yay fetch

mortal saddle
#

I'm not sure if it would matter, but about 55% of the alerts set off are done with bits, and the other 45% are done through PayPal tipping

thorn obsidian
#

I've been asking help for this issue and getting no help

#

Steam Elements is not allowing me to import now for nightbot, i get the authorize application i press allow and nothing happens

elfin arch
terse crest
#

I still can't dig into why someone would need 300 alerts...

elfin arch
mortal saddle
thorn obsidian
#

my nightbot is connected to twitch

#

i'm gonna have manually copy and paste everything thing over, i shouldn't have to do this

elfin arch
thorn obsidian
#

k thinks

elfin arch
thorn obsidian
#

well they are not working

#

i'll try over on help twitch

elfin arch
#

@terse crest i can see the "uniqueness' of a specific tip value being a big plus. Say a user wants to tip $2.04 every stream because they like that number. .... it's like the "Awesome Shoutout" but streamer get's paid haha

mortal saddle
#

Each alert sound is different, too, so people find their favorites as other people set them off.

terse crest
#

And so to automate it "we" need to make a request to gsheet, find a row with that value and check the box..sounds doable

mortal saddle
#

The only 2 problems I can think of as someone who doesn't know anything about coding is 1: Making sure it doesn't untick the box when an alert goes off more than once. and 2: Figuring out how to get both Bits and PayPal tips to trigger it.

terse crest
mortal saddle
#

Ahh, so something like "If value is 1, value remains at 1, if value is 0, set value to 1"

elfin arch
#

option 2 would be to have a more dynamic system that writes back to the sheet (but this requires more Sheet auth)

#

the hardest problem with this is going to be the Images and sounds; no way to upload images or sound

terse crest
#

Mb have a hosting, the rest is a matter of tech

pulsar willow
#

Does it make sense to use .toLocaleLowerCase() instead of .toLowerCase() for chat messages or usernames?

A post on reddit stated that usernames must be alphanumerical (^[a-zA-Z0-9_]{4,25}$), so I guess it's overkill to use it for that?

elfin arch
#

because if you store values for later use, the ID will remain after name changes

hidden crown
#

Hi guys is it posble to grandient colors text (latest donator)? i was using slobs and now trying to make the same. If i create a only a text yes is posble to gradient color. but if i try to createt latest donator or latest foloewer form streamelements i cant fiind gradient text

#

i want to do color gradient is it posble ? (Latest tiper or latest donator)

inner lagoon
#

how do I share a overlay so someone can add it to their account?

uneven oxideBOT
#

Follow these steps to grant managers/moderators access to your dashboard:

  1. Click on your channel name at the top of the dashboard
  2. Create a new invite at one of three access levels (Bot Supervisor, Editor, Full Control)
  3. Send this invite to a mod/manager to give them access to your dashboard. The link is one-time-use and expires after 72 hours if not accepted

Video tutorial: https://youtu.be/zl_h-ttZDF0

inner lagoon
#

no no

hardy walrus
#

I know

#

That's the only way atm

#

Otherwise

uneven oxideBOT
inner lagoon
hardy walrus
#

yes

#

It is not given out for everyone.

inner lagoon
#

gotcha. thanks

opaque wasp
median raptor
#

Hi there, I submitted a request for oauth credentials a while back and haven't heard anything yet. Looking to see if there is any way I can poke someone to find out the status of the application.

elfin arch
median raptor
#

Yup, sent it using the new form in around September when it came out

#

the asana form

elfin arch
median raptor
#

OK thanks

silent kraken
#

So i have been trying to import my stuff from streamlabs obs to streamelements, however this is kinda stuck like past 10min

terse crest
#

2 of 1 👀

silent kraken
#

Yea it doesnt complete at all.

hardy walrus
#

@silent kraken Do you have any video files in your sources?

silent kraken
hardy walrus
#

I mean mp4/mov files.

silent kraken
#

Negative

hardy walrus
#

Do this

uneven oxideBOT
#

Please provide a log from your last stream. To do this, in OBS go to Help > Log Files > Upload Current Log File and paste the link to the log file here.

silent kraken
#

Might be a dumb question, But is it 'OBS Studio' or 'StreamElements OBS.live'?

silent kraken
hardy walrus
#

actual video files?

silent kraken
#

mp4 yes

#

i am deleting them now to test

hardy walrus
#

That would definitely be why.

#

There's a cap with files sizes and I'll bet they be too chonky.

silent kraken
#

Ahhh alright. I will try it in a second when i deleted them. It was 2 webcam sources and then afk,starting soon, intermission etc etc. So yea let me get back to you in a second

silent kraken
young shard
silent kraken
young shard
silent kraken
#

Alright that is fine, seems that i got that part right already 😄 [i am using the obs.live plugin]

#

Quick update. i tried to import it all seperate.

Import alertbox - failed
Import Tips - Complete
Import Overlays - stuck like picture above

silent kraken
hardy walrus
#

¯_(ツ)_/¯

#

Unfortunately I'm off to bed as I work tonight so can't do much more to figure out the DansWutChamp with it.

silent kraken
#

The issue seems to be that it was the alerts since i had to do the alert box myself manualy. And maybe my labels aswell since right now they have been changed to normal text files

#

have a great night !

silent kraken
#

How do i fix this? These donations are NOT the case. For example popadopaliss total donation is 45 euro

#

it looks like for some reason every donation got multiplied by x11

high sand
# high sand Hello! I'm just hopping in here because I'm implementing a realtime event listen...

Bumping this because I posted it very late on a Sunday night so there was a limited audience. I'm using the realtime websocket code and everything works except for the gift subs when using live data - for some reason it sent me payloads without the "listener" object. Unfortunately I didn't capture the payload to the console log at the time, but subsequent retriggers from the dashboard send me nothing for the gift sub event, but all the other types of events work. My code works according to the simulation done in the "create overlay" screen, but that doesn't line up with reality as there are added elements (items array) and missing elements (displayName) from the simulated events sent through event:test

#

IT was mentioned to me that the retriggering of the gift event is a known bug, which makes it a very expensive QA process (I was the one who gifted 5 subs to test the event during a live broadcast) but I was wondering if someone had an actual payload sent as an "event" of a community gift sub to random people and what it sends. It looks like it might have sent me multiple events (one for each new person subscribed) - the simulation does not do an adequate job of simulating the reality

patent slate
#

Is there a way to catch the redeem messages from Twitch loyalty points to have those trigger a command?

inner lagoon
#

for the slider field type, is it possible to have fraction steps? like 0.1

#

whenever i put anything less than 1, it breaks

#

nvm works now, idk what i was doing wrong

bronze storm
#

Hey guys, eh I just need some help. I have the Alpha gaming metric and I was just curious if it is possible to move it off & on screen as it rotates from Follow to bit to sub. I try and use the animation settings but it's not doing anything. any advice?

inner lagoon
#

you can change Animation In and Animation Out to be what you want, there's a few that move it off the screen

#

I'm assuming you are referring to the ALPHA ROTATING FEED V2.2 btw

bronze storm
#

I am yes.

#

Animation in - slideindown/ Animation Out - slideOutUp would you say thats correct & save @inner lagoon

inner lagoon
#

whatever you want

#

but sounds ok to me

young shard
# high sand IT was mentioned to me that the retriggering of the gift event is a known bug, w...

yea that bug is annoying

this is what i use to handle gifted subs

window.addEventListener('onEventReceived', obj => {
  const { listener, event } = obj.detail
  if (listener === 'subscriber-latest') {
    const {
      sender, name,
      gifted, bulkGifted, isCommunityGift,
    } = event
    let { amount } = event

    if (gifted && isCommunityGift) return
    
    if (amount === 'gift') amount = 1
    const user = bulkGifted || gifted ? sender : name
    amount = bulkGifted ? amount : 1
    
    alert(user, amount)
  }
})

there is a separate event, in addition to the gifted events, that is fired when someone gifts multiple subs
individual gifted subs have gifted = true
if they're part of a multiple sub gift, then they have isCommunityGift = true as well
the separate event has bulkGifted = true, that's the one you want for multiple gifted subs
also, sender has the name of the user who gifted the sub, while name is who recieved the sub (tho idk what value name has when bulkGifted = true

bronze storm
#

I saved and it's still just roatating for me

inner lagoon
bronze storm
#

@inner lagoon I'll try it again thanks mate

#

Still not working for me

inner lagoon
#

and you started fresh with a whole new overlay?

bronze storm
#

i did yeah, I deleated my old one and downloaded a new one from his Discord

inner lagoon
#

what browser are you in? or are you previewing it in obs?

bronze storm
#

I am previewing it in streamelements

inner lagoon
#

in obs.live?

#

or in your browser

bronze storm
#

Browser, I was on the stream elements website, i've just put it in obs now in it's own scene

inner lagoon
#

and it looks the same in obs? i was wondering if you were previewing it in a browser that doesnt support all the animations or something

bronze storm
#

I use OBS studio, it's the same in stream elements and obs. It flicks through but i want it to move dont I. very strange

inner lagoon
#

yup idk works perfectly for me

bronze storm
#

What have you got your settings looking like?

inner lagoon
#

i have everything as default except changes the animation in and out to the ones you said above

bronze storm
inner lagoon
#

i dm'd you

severe shell
# bronze storm

Don't know if this is your case, but it happened with my colleagues because of "Animate controls and elements inside windows" was disabled.

  • Open SystemPropertiesAdvanced.exe and click on Settings on Performance
  • Check the first option "Animate controls and elements inside windows". Hit Apply and test the overlay again.
inner lagoon
#

yep we just figured that out

#

well not that exact setting

#

in windows 11 there's Accessibility - Visual Effects - Animation effects
he had that turned off

high sand
# young shard yea that bug is annoying this is what i use to handle gifted subs ```js window....

Pretty much my same implementation. What throws me off is that on Sunday night when it was live, listener was undefined (and not "subscriber-latest" as I was expecting) hence why none of my code ran. I'm hoping that was a one-off error but I have better logging next time around (we're only live on Sunday nights) - thanks for the sanity check tho! At least I'm on the right track and hopefully there was just a hiccup with the event that night.

frail inlet
#

ive managed to sort out alerts for reddems but how do u add different text to each redeem instead if (name) redeemed (item) how can i cahnge that for the indiviual items hope this make sense. so one i want (name) sends hugs and another one i want (name) says hello? where can this done. i have seen other streamers doing things.

inner lagoon
silent kraken
#

How do i fix this? These donations are NOT the case. For example popadopaliss total donation is 45 euro.
It looks like every single donation is multiplied by 11.

native wedge
#

architectural considerations limit the height of an 6 m long simple span beam to 500 mm. and the width to 350 mm. (cover 65 mm). the following loads and material properties are given: wd-38 kn/m, wl =20 kn/m, fe=25 mpa and fy=350 mpa. a) calculate the factored load. (4 points) b) design the longitudinal steel reinforcement.

terse crest
#

👀

elfin arch
fringe path
blazing ocean
#

Hello, im trying to make a command that allows the watcher to redeempoints every hour or so but i am struggling with the variables. any suggestions?

severe shell
severe shell
severe shell
silent kraken
floral badger
#

Hello all,

So I use lichtstream. And i am trying to find solutions to make the gab to compare it with obs as small as possible.

Soo for example, lets say we have a webm file of a flame. That you want to change color on an event. (Organe being standcoller and like red for donation, purple for raid, Bleu for sub ect ect)

In obs you can put multiple webm as source and turb off/on the visible with a 3rd party program.

But what is there is a stream elements widget though would do just that.

You can set and img or webm static for every event (follow event being the standard collor)

Then on a event it wil turn off visibility from all other and turn on visibility from that event.

This way it will be possible in streamelements to have some interactive overlay reacting to events

#

I have this cool idea but dont have the skills to make it.

inner otter
#

So I have two overlays one for my live scenes the other one special for my just chatting, is there a way to copy my alerts from my live scene and put them into my just chatting? I want to be able to keep my alerts the same for every overlay I make.

inner lagoon
inner otter
inner lagoon
#

Don't add your alertbox to other overlays. Make an overlay for your alertbox only and add that into your OBS scenes

inner otter
inner lagoon
inner otter
severe shell
timber tapir
mystic kraken
#

I'm trying to do alertbox previews using a different browser window on a separate monitor on my PC. I've basically just created the default alertbox, done a copy URL of the overlay, and pasted it in to the browser on the second screen. When I try to test the follower alert (and others), the alert previews fine on the editor window, but not at all on the window where I've got the overlay running. Is there any way to fix this? I've tried Firefox and Chrome for the preview. Sometimes the test just shows a small dot on the preview window screen.

fair bramble
#

Im having a problem with the website. Whenever I click on my dashboard all it does is refresh the homepage. is the website broken?

severe shell
fair bramble
#

thanks we all good now

elfin arch
#
Step 1: create a Google sheet that has 'values' with an image and/or audio pair (Example: https://docs.google.com/spreadsheets/d/1il7GUnuHP_BijN5NmN6dsKHEFKtV8Dy5iZoLF4ly6x4/edit#gid=0)
- Leave the header row and fill in the default row with a 'no match'
Step 2: convert the Sheet information into an Object; use this: https://codepen.io/pjonp/pen/BadXZZX
- this will require getting an API auth token from Google; there is a link for more info there
Step 3: In the SE Alert Box for Tip, create a single variation for a tip > 0.01
Step 4: Enable the custom CSS for that and use this code: 
#
//Paste Image Object here:
const sheetObject = PASTE OBJECT FROM CODEPEN HERE
//deafult custom code:
const name = '{{name}}';
const amount = '{{currency}}{{amount}}';
const animation = 'wobble';
const userNameContainer = document.querySelector('#username-container');
const amountContainer = document.querySelector('#amount-container');
userNameContainer.innerHTML = stringToAnimatedHTML(name, animation);
amountContainer.innerHTML = stringToAnimatedHTML(amount, animation);
function stringToAnimatedHTML(s, anim) {
    let stringAsArray = s.split('');
    stringAsArray = stringAsArray.map((letter) => {
        return `<span class="animated-letter ${anim}">${letter}</span>`
    });
    return stringAsArray.join('');
};
//new code:
const amountObj = sheetObject[{{amount}}] || sheetObject['Default'];
  //swap image
  $('#targetImg').attr('src',amountObj.image);
  //play sound
  const tipAudio = new Audio(amountObj.audio);
      tipAudio.volume = 1;
      tipAudio.play();
mortal saddle
mystic kraken
elfin arch
#

.... i recall running into the tiny dot overlay once in the past... but forgot what it was; i wanna say that it was an Audio issue. Click a couple times in the empty tab for the overlay, then try the alert.

mystic kraken
#

You may have figured it out with the audio thing. I'll try it on the computer I was working on later, but I did need to allow audio and video when i previewed it in a separate Firefox tab on the laptop I'm currently on.

#

There does seem to be an additonal factor with the dot thing, which seems to affect the editor as well - if I do a test, but don't switch to the preview tab, a few seconds later, the dot appears. On top of that, if I queue up several alerts iin one go and switch to the preview tab, and stay on that tab for the second alert, then the editor tab shows the dot.

elfin arch
#

This is kind of expected for the way browsers work; when you are tabbed out the animations and sounds don't play to help save memory (i think?)

#

at the end of the day; the result you need will be what is shown in OBS. If you open OBS and move that to the second screen, do the alerts show?

mystic kraken
#

i'll try that later - OBS browser source does seem to behave differently to most browsers

mystic kraken
#

Using 2 computers does what I need to do. Next question: WHY does console.log() have to be disabled? I'm trying to play around with SE_API.resumeQueue() on a New Follower alert to see if I can use it to skip alerts for certain accounts. I have no idea if that line of code isn't being reached, or whether the resumeQueue() call isn't doing anything at all

uneven skiff
ocean citrus
#

Hi, I am working on custom commands and would like to know if there is a way to remove bot names from the random.chatter coding?

young shard
#

console.log does work tho i use it all the time

elfin arch
tall crag
#

Hey dear developers, trying to develop a custom widget right now and wondering if I can access the currency of the tipping page somehow

terse crest
#

Any SE devs here? What's the max size of a data object that we can have in SE_store?

tall crag
# elfin arch

I found that, but am I able to access it in the fields json? I wanna show it in a label

elfin arch
tall crag
#

Thought so, shame, but thank you very much for your help!

elfin arch
#

... you could set up a Field dropdown to select the currency code

tall crag
elfin arch
#

currency uses 2 main values; the Locale & Code

#

$10.00 vs 10.00$

mystic kraken
#

Is the SE_API global only available in Custom Widgets? I was trying to call SE_API.resumeQueue() from within the custom JS of an AlertBox widget, and the debugger tells me it's not defined.

south trellis
#

yo so i have a problem with my leaderboard chatstats link. Its stuck at my old username and not my new one because whenever i click chatstats it says error 404 and when i just change the url to my old username it works

left rampart
#

Hi. I see that Oauth submissions are open again (yay). Do I need to have a working proof of concept before I submit? I'm getting started on V2 of a few of my open source tools and would love to integrate SE directly this time. What I'm mainly concerned about is the applications closing again before I'm finished.

#

Also, if it's of interest, this project will probably require me to make a C# wrapper for the API. That will be open as well.

tawny nebula
#

si there anyway to make it so community gifted shows all names of received when using event.isCommunityGift ?

#

so far it does 1 with the sendersname_49 (49 being 1 below the total sent in test of 50

#

I am using
if (event.isCommunityGift) { addEvent('sub', "community gift", event.name);

#

which only results in showing 1

#

example results

tribal zenith
#

github is currently having some issues tho

severe shell
south trellis
#

wrote that wrong fixed now

west horizon
#

I have a weirdly specific question: When I create a custom widget it goes inside of a iframe when overlay is saved. Is there a way to create "solid color rectangles" a.k.a. divs that wouldn't put them inside of a iframes. I'm trying to do some css magic on the obs side, which cannot be done if the divs are inside of a iframe

severe shell
south trellis
# severe shell Done

thanks question are u able to transfer the chat stats from my old account name to my new one?

severe shell
south trellis
#

Oh shoot yeah sorry about that @severe shell

frozen radish
#

Hello how i can select what will be in response if i using custom api?
If i just write &plot in the end of command, response is showing all information, not only plot(

severe shell
severe shell
frozen radish
#

i changed it a little

severe shell
#

If you type the address on your browser (with the values filled), what response will it give?

frozen radish
#

just with nickname

#

without any response filters

severe shell
#

There is a "&view=" parameter on the API to filter the result, so the result is plain text

#

The command is actually running this:
https://api.satont.ru/faceit?nick=Kislow&view=My lvl: {lvl}, My elo: {elo}, Diff: {todayEloDiff}
Which would give this response:

frozen radish
#

hmm, so interesting

severe shell
#

The API should be able to filter the parameters you want (maybe using query string) to give you only the information you need

frozen radish
#

but what is this for?

severe shell
# frozen radish but what is this for?

These are the filters, but if you add those filters and type on the web browser, what will show for you? I don't know what API that is, can you send me the link via DM?

left rampart
#

How much is required to be working to be considered for OAuth with SE? I've got old code that used JWT tokens, but it's not scalable and I was going to rewrite it anyway. I just want to make sure I make the application window this time! 🙂

stuck sphinx
#

I'm not sure this is the right place to ask but I got an email asking me to register for the Stream Elements payment portal, but it goes through a 3rd party so I'm concerned it's a scam. Can anyone help me out with this?

lucid tapir
stuck sphinx
#

Ok perfect! Sorry I'm in the wrong Channel, I just didn't know where to ask cuz it didn't see the specific to a platform.

#

Thanks for the quick response, I'm just always concerned when something asked me for my personal information so thank you for the verification.

ember herald
#

hello out there,
is there a know problem with the module roulette with big numbers? already the 3rd time when a big number was replaced with a small one (this time : before 144541573984, !roulette 20% was "won", message *wins 515396112 and has now 3092376676")

arctic tiger
#

Hey there, is there a way to access the

elements Object { version: {…}, isChrome: false, partner: false, user: {…}, channel: {…}, state: {…}, loggedIn: true }

in the Widget?

#

i would like to use the accessToken inside of a Widget

#

or should i use the jwt token for a websocket connection?

#

nvm found it out

arctic tiger
#

is there a way to know if its the first message of a user?

sick girder
#

Is there a way to send a widget button press via the API?

#

I would like to have a Stream Deck Companion button trigger a custom widget

arctic olive
#

I don´t know but my alert (gif) is transparent. I don´t want it transparent. How can i change it ?

dull helm
#

Idk how to fix when I get with the chatstats a 404 error. Can someone help me ?

inner lagoon
#

is there a way to listen for channel point events?

fathom basalt
#

I've changed my account name lots of months ago and streamelements still has trouble figuring it out. My id is 6034373b4aa69a7bc8cf596e.
Examples: It still thinks the streamer is my old account name (olaa2x) instead of the new one (tioninogamer), thus making it impossible for me to use some commands like playing songs for free

#

Also: is there a way to change the bot language for contests?! This is a bug I've face in several areas, but contest is the most annoying one. I've already set the bot language to portuguese, but there are lots of things that are still in english

wintry quiver
#

What's the best way to use local fonts in CSS?

young shard
young shard
# wintry quiver What's the best way to use local fonts in CSS?

doing something like this works p well

CSS:

font-family: '{customFont}', Arial, sans-serif;

Fields JSON:

{
  "customFont": {
    "label": "Custom Font Name",
    "type": "text",
    "value": ""
  },
}

it'll fall back to Arial or sans-serif if customFont doesn't map to an existing font name

arctic tiger
inner lagoon
#

is it possible to get URL parameters passed into the overlay?

high sand
# high sand Hello! I'm just hopping in here because I'm implementing a realtime event listen...

So just to give an update on this saga (we're live again) I've learned that the message structure of a simulated event and the message structure of a real actual event are two totally different things and I found where the "real" event structure is documented. Note that I am not using SE_API right now, but rather using the "Connecting via Websocket using OAuth2" section of the dev site which listens on event:test (simulated) and event rather than onEventReceived like SE_API does.

high sand
#

It should be noted that the documentation page implies that the message structure of the event event is identical to event:test with a comment in the sample code, when it is really the JSON schema at the top of the page, and there is no way to simulate or test those events (and it isn't as robust since it doesn't seem to do anything for gift sub bombs) I'm guessing I'm actually using deprecated code and should instead transition to SE_API?

pulsar willow
#

hello guys i hope youre having an incredible day.. im stuck.. 😦 is possible to call a function() with an external link??

for example what im doing here is when follow appears is call randombg() with an image.. but i want to call a webm.. or external link.. anyone can help me out? 😦

function randombg(){
var img = ["url('{border2}')"];
document.getElementById("main-container").style.backgroundImage=img;
}

if (listener === 'follower-latest') { 
  randombg();
terse crest
terse crest
elfin arch
pulsar willow
elfin arch
#

um... not sure if a backgroundimage can be a webm or not, never tried that. basically you want to remove the [ and ] from the img when you assign that. and i'm guessing the {border2} is being set in the field data / user input settings

jolly scroll
#

Hi there! How do I add a merch/purchase to my event list?

hardy walrus
#

Merch should already appear.

elfin arch
#

^ as Sudo said; it is in the default widget; but if you are making your own; it's kinda hidden in the code and not documented in the channel header 😉

patent slate
#

Is there a way to have a command run off a Twitch redeem instead of a chat message?

jolly scroll
hardy walrus
#

Purchase is something entirely different from merch.

jolly scroll
#

I'm using the Eventpop one

hardy walrus
#

Oh

#

Nerd or die?

jolly scroll
#

yeahg

#

So for the merchandise, what do I add? Redemption latest?

hardy walrus
jolly scroll
#

Ahh okay, thank you!

hardy walrus
#

Best to ask there

arctic tiger
#

Hey,

is there a way to listen on messages with:

socket.on("event:received", (data) => {
  console.log(data);
  // Structure as on https://github.com/StreamElements/widgets/blob/master/CustomCode.md#on-session-update
});
#

as far as i understood, the console.log(data) should print out the message, right?

arctic tiger
#

i am totally lost.

#

why the duck send the post of: https://api.streamelements.com/kappa/v2/bot/${id}/say the msg two times?

arctic tiger
#

nvm i am a fucking idiot and had the browser source open twice

severe shell
arctic tiger
#

i will share later the widget

feral nest
#

Is there a nice "unmodified" alertbox alert that I can work from? Something where if I put it in the "custom css" editor, without changing anything, it'll just do a vanilla alert using the settings from the settings panel?

I have just a small modification I want to make to one of my alerts, but by enabling "custom css" I'm removing all of the styling that was already there and needing to rebuild the whole thing from the ground up almost, so a starting point that is a basic alert would be great.

simple cove
#

Im hoping this is the correct place to ask about the Widgets that have been launched in this server? Just that I can not seem to get the Steam Game Info Widget to work and I am unsure of where else to ask?

mint gyro
#

hi , can i use stream elements in Nonolive platform ?

harsh spade
#

I hope this is where I ask this question. I would like to open up !quote add to everyone in my chat but cannot even find the command on my command list. Also is there a way to see all the quotes we have on the channel? Thank you in advance for all the help.

hardy walrus
#

@harsh spade not possible for both.

harsh spade
#

Thank you so much for getting back to me I will see if I can find another bot for that then.

hardy walrus
#

1 sec

harsh spade
#

OK

hardy walrus
harsh spade
#

Thank you so much you are so amazing

daring mural
#

Hi there, is the kappagen code available? I'm wanting to limit the "Chat Emotes" in the same way you can limit them in the "Emotesplosion" panel. Alternatively is there an ideas register for this sort of thing?

uneven oxideBOT
#

Check out the StreamElements ideas board: https://strms.net/ideas. You'll be able to add ideas, upvote ideas you agree with and track their progress with email notifications. Adding and upvoting ideas also helps the staff know which ideas should be prioritized so please take some time to upvote.

hardy walrus
#

Oh hey kittenz

wanton meadow
#

Hey all! I applied for API permissions for GIFBot a couple of weeks ago. Is there any way to check on the status of that approval? I'd like to start integrating the bot with reading tips events.

hardy walrus
#

The immediate person I could poke is most likely asleep but lemme see if some can poke the request list.

wanton meadow
#

Oh well absolutely, I don't mean to get an answer right meow.

#

I just wasn't sure if there was anything wrong or perhaps missing from my app.

wild surge
#

Hi guys, I have a small question regarding the rotation in the overlay menu:

I'm trying to place a start timer at an angle, but in the Position item you can only change the position every 90 degrees.
Is there a custom solution to change the rotation position yourself?
For example, it would be -36 degrees for the timer.

young shard
whole mural
#

Hi all, I have MrBoosts goal overlay, but for some reason it has added a random 2 right at the end of the decimals, is there a way to forcibly make it only show 2 decimal places in the CSS/JS?

mystic kraken
#

Try Math.round(<value>*100)/100

whole mural
mystic kraken
#

Yes, that's JS. It's just a multiply by 100, round, divide by 100.

marsh galleon
#

Ok. Might be a firefox-related issue

#

Because it works on edge

#

That's really annoying. It should work on all browsers.

wanton meadow
simple cove
#

Im hoping this is the correct place to ask about the Widgets that have been launched in this server? Just that I can not seem to get the Steam Game Info Widget to work and I am unsure of where else to ask?

Anyone else have a similar issue?

unkempt rapids
#

Hi all, hope this is the appropriate channel this: I'm trying to make a sub alert variation, and the sound is 30 seconds but i only have the alert duration set to 5. The alert stops after 5 seconds but the sound keeps going. Is there a way to make it so the sound clips off with the alert?

mystic kraken
#

simplest solution would be to clip the sound file itself, and use the new file with your variation

pulsar willow
#

I'm hoping this is the right channel if not I'll go somewhere else I was putting a chat box onto one of my scenes and I wanted to know what checker chat means

arctic tiger
#

@hardy walrus do you know if it is possible to change the fieldData value with javascript?

hardy walrus
#

No idea.

arctic tiger
#

thanks bud

terse crest
#

Get it to variable and rewrite what you need before using. You can't edit the FIELDS data object, but if you already got it you can process it as you like

arctic tiger
arctic tiger
severe shell
severe shell
severe shell
severe shell
severe shell
inner lagoon
#

is there a way to listen for channel point events inside an overlay?

severe shell
inner lagoon
#

I submitted the form thingy to be able to generate share links of my overlays, does anyone know how long it takes to hear back?

empty geyser
#

hi, I log in using youtube to streamelements, and now i would like to remove twitch from streamelements, so that i can manage my youtube , twitch, facebook in to one account (it says account already claim)

uneven oxideBOT
#

@empty geyser ⤵️

Account Merging - Please note:

  • Merging accounts only allow faster ways to switch between accounts
  • Merging accounts does not allow data sharing between accounts - different streaming platforms, different type of events
  • Merging accounts allows duplicating/sharing overlays between the accounts

If you understand the limitations of merging and want to proceed, please find the JWT tokens (!jwt) from both accounts you want to merge and fill out the form here: https://streamelements.com/contact with each token correctly labelled

whole mural
whole mural
#

everything explains how to use the function, but doesnt explain how to understand placement

whole mural
#

I can only imagine that it goes in here, but nothing I try to add makes it work

 $('#Subcount').text(data["subscriber-{{goalrange}}"]["count"] + ' / ' + fieldData["subgoal"]);
  $('#Cheers').text(data["cheer-{{goalrange}}"]["amount"] + ' / ' + fieldData["cheergoal"]);
  $('#Donations').text(data["tip-{{goalrange}}"]["amount"] + ' / ' + fieldData["donogoal"]);
  $('#Followers').text(data["follower-{{goalrange}}"]["count"] + ' / ' + fieldData["followergoal"]);```
kind tusk
terse crest
kind tusk
#

Hey there SE Staff and Devs. Can you please make the "streamelements streamdeck plugin" connect to the "streamelements groundcontrol" app? Would make a lot of sense, so i could ditch OBS from the pc where i use the streamdeck at. Thanks in advance 🙏

whole mural
#

Thank you

terse crest
whole mural
# terse crest <:FeelsOkayMan:288726393813073920>

to add a $ sign to the string I think I know where the second one goes, but lost on the first one, mainly because I don't know where the separation for it is... $('#Donations').text(Math.round(data["tip-{{goalrange}}"]["amount"]*100)/100 + ' / ' + ' $ ' + fieldData["donogoal"]);

#

$('#Donations').text(Math.round(data["' $ ' + tip-{{goalrange}}"] + ["amount"]*100)/100 + ' / ' + ' $' + fieldData["donogoal"]); returns NaN/goal

glad zealot
#

Some of my alerts are not working. I've already tested it on another overlay and it's the same. Help please. sk1ll suggested asking on this channel.

arctic tiger
#

maybe there is a character that crashes the script

glad zealot
severe shell
#

Or maybe there is any word that is blacklisted... Check your moderation filters for Tipping settings > Tipping moderation

rugged cairn
#

Hey how can I make bits cheer emojis smaller? Is there a specific css class I can rely on?

mystic kraken
glad zealot
coarse arrow
#

hey I'm looking for help I have a problem with the installation of streamelements
is there someone who can help me

severe shell
coarse arrow
#

thank you but no one answers and my problem is installing the software

hybrid igloo
#

Hey, could someone help me with a custom api command? im trying to get some info off of a website. i want to filter out everything i do not need. or rather filter inn the info i do need

#

This is what shows up in the website
{"status":"200","data":{"currenttier":18,"currenttierpatched":"Diamond 1","ranking_in_tier":32,"mmr_change_to_last_game":-19,"elo":1532,"name":"Trake","tag":"Lean"}}
i only want the "Diamond 1" part

hardy walrus
#

@hybrid igloo Unfortunately you'd need a 3rd party API to do that as it's not possible with us atm.

severe shell
hybrid igloo
#

oh wow thank you so much!

whole mural
thorny eagle
#

Hi all, any idea how one can change the bar color for the hype boss widget?

thorny eagle
#

Also is there a size guide for the events list custom "set background" ? everything i make for it seems to be shrunk down into a repeated pattern not a background

candid sail
#

Hi; apologies if this is the wrong place to ask. But I've scoured google. I really want to add an advent calendar to one of our discord channels, so our followers can get little surprises each day in December. (doesn't have to be video - I wanted it to be a mixture of text some days, pics on others, mmmaybe video if it wasn't too difficult to work out?) My partner told me it's not possible. Is he correct? Surely there's a way to embed a non-google calendar (I made the template with a program called MyAdvent). I really don't want to just post a link that they have to click on every day to open. TIA, and if this isn't the right place to ask for help, I'd appreciate being pointed in the right direction!

wraith flame
#

Hi.
Does anyone know how to set global variable with SE_API?
I'm trying to create a Point System where a user is able to collect points by resubbing, subscribing or super chats (kinda like the loyalty system but for YT).

I don't really find any information how I can save and edit this score tough.

pulsar willow
candid sail
tribal zenith
tribal zenith
#

^the size of that is limited tho and may not scale well for bigger communities. A more solid solution would be your own (external) database and API endpoint

wraith flame
terse crest
#

But we actually don't know what the limit is and you might never even reach it

#

But having your own api is always better, I agree

severe shell
mystic kraken
# whole mural I tried t his, and it still errored

Oops. Looks like there's a rogue character or 2 in there. NaN error means "Not a Number". If you're not familiar with Javascript, or jQuery, which is what we have here, things get messy when there are multiple function/method calls on one line. To understand what it's doing, it's easier sometimes to split the code into multiple lines:

#

dono_rounded = Math.round(data["tip-{{goalrange}}"]["amount"]*100)/100;
dono_text = '$' + dono_rounded + ' / $' + fieldsData['donogoal'];
$('#Donations').text(dono_text);

#

First line does the rounding, second line concatenates the text all together, the third line updates the Donations text

gleaming monolith
#

Heyo guys! Does anyone know to get the total number of subscribers on jQuery using StreamElements? I'm trying to access with jwt.
What should be the token "undefined" on this request?

broken coyote
#
$('#Donations').text("$" + Math.round(data["tip-{{goalrange}}"]["amount"] * 100) / 100 + " / " + "$" + fieldData.donogoal);

@whole mural

#

or you can make $ a global var from obj.detail.currency.symbol if you what the currency to auto set

uneven oxideBOT
#

You can find your JWT token on your account channels page (Show Secrets to reveal the token): https://streamelements.com/dashboard/account/channels

READ ME: This is a private security token. Do NOT share this token here or other public places, only with a StreamElements staff member in private.

gleaming monolith
#

o.O

#

why it's forbidden ?

terse crest
gleaming monolith
#

any ideas?

#

nvm, I'm dumb

inner lagoon
#

I filled out the form to get the overlay share ability last week, any idea how long it takes to hear back?

tiny hound
#

hi hi, does anyone else use the Event Rotator by C06? I just applied it as a widget, worked 100% great while setting it up offline, no problems switching between scenes or anything. But when live it just.. stops. Even on the SE widget preview it's stopped. If I refresh the browser, then refresh the cache in the widget in OBS then it'll work for a couple minutes then stop again. I then ended stream and instantly back to working 100% fine.

zealous basin
#

Hello. Anyone familiar with CSS and HTML? Trying to make alert text do a color wave. I’ve done it before but completely forgot how.

steel quartz
#

Hi guys, I'm interested in developing a !snack command for the chatbot that does something like:
/me Because it's Treat Day, $userid consumes $readrandline(~/snackfile.txt)
I realize bc it's a cloud bot it won't be able to read from a local file, but is there a variable/api I could use to get it to read from an online source? Reading and writing to that source would be amazing if possible.

hardy walrus
#

@steel quartz you're in luck. Gimme a sec.

subtle mica
#

Is it possible to save results from chat commands without having to go through a third party?

hardy walrus
#

If the responses are short enough yes.

#

Otherwise not really.

subtle mica
#

I want to save the responses to this command

You are a ${random.pick 'Toad' 'Tree Frog' 'Tiny Frog' 'Smol Frog' 'Toad from Mario' 'Kermit' 'Pepe' 'Big Frog' 'Sad Frog' 'Dead Frog' 'Frog King' 'Mysterious Frog' 'Mystical Frog' 'Bald Frog'}

#

If that's possible

hardy walrus
#

That would be the exact way without a 3rd party api.

#

Assuming the character cap isn't hit.

subtle mica
#

So how would I bring up the results if say I said the command then needed to route the answer to a custom discord bot I made to give out roles in a discord

hardy walrus
#

That's where our help ends unfortunately.

subtle mica
#

Ah alrighty, thanks for the help :D

hardy walrus
#

Have this as your response $(customapi.https://api.thefyrewire.com/twitch/pastebin/Eg52Rf0J)

steel quartz
#

yesssss thank you that is gorgeous