Help with twitch command

Sort:
chaotikitat

So I know this is not the place to ask this, anyways.

This is for the coders in the chess community, anyways.

/announce doesn’t work on mobile as far as I’ve tried, so I’ve found the workaround of making nightbot do /announce and then adding a query string to allow user input by (me) moderators using the command. The problem I encountered when using it is that it turns every space into the hex number, which makes the command look like a mess sad.png 

My question to any coders (preferably Nodejs since that’s the language nightbot uses, I think, I’m new to this) is does anyone know a different way to make the command work on mobile, or will I have to figure out a way to detect the hex number of the space then change it from the hex to the character intended?

For reference the command is:

!addcom !Announce -ul=moderator /announce [querystring] 

Then example of me typing it in:

!announce Hi everyone 

And it comes out with:

Hi%20everyone 

if I need to include anything else I’ll try, again I’m a newbie, any help is appreciated <3 

IsraelD2021

nah

llOverciverll

Nope :b

IsraelD2021

u?

 

Mattew

I'm pretty sure it's an issue where " " is replaced by "%20" but idk how to fix sorry

chaotikitat
Mattew wrote:

I'm pretty sure it's an issue where " " is replaced by "%20" but idk how to fix sorry

I know, the %20 is the ascii hex 

IsraelD2021

I don't Reid it but maybe its a good story idk maybe

Mattew

Well is there smth like ?

Mattew

Waitisthatworking ?

Mattew

Nope. I was typing < space > and it diseappeared. Maybe try !announce Hi < space > everyone without any spaces

chaotikitat
Mattew wrote:

Nope. I was typing < space > and it diseappeared. Maybe try !announce Hi < space > everyone without any spaces

I know it’s a problem with the spaces I think it’s explained in my paragraphs, but it looks super unclean without spaces between words 

IsraelD2021

bey coming soon

wink

Mattew

Well type *space* but change the * to < then >

chaotikitat

?

Mattew

Idk how to explain it bc whenever i say it it's gone

Mattew

Mattew

< space >

Mattew

say that without the spaces btw < and "space" and >

Mattew

Nvm you should just not listen to me im just dumb

IsraelD2021

no u are not dumb don't say that to your self