Hi, i want to translate this command to spanish, but the Nightbor response “unexpected end of input” i dont find the error
!addcom !followage -cd=5 /me $(touser) sigue a Ghasty hace: $(eval d=$(urlfetch https://beta.decapi.me/twitch/followage/zghasty/$(touser) 🌹 '); ${d.replace(
year,
año).replace(
months,
meses).replace(
month,
mes).replace(
days,
dias).replace(
day,
día).replace(
hours,
horas).replace(
hour,
hora).replace(
minutes,
minutos).replace(
minute,
minuto).replace(
seconds,
segundos).replace(
second,
segundo`)})
The main issue I’m seeing is the “ ’ ” and the rose in the urlfetch though there could be more issues it’s hard to tell exactly if every back tick is there cause of the way you typed it. I am assuming a backtick is missing though since the last one shows up and I would expect them all to be paired. Actually it looks like your missing a backtick after ending bracket “}” there should be one after.
2 Likes
Emily
October 2, 2020, 12:50pm
3
Hey @b_Ghasty !
@potatoeaterlove is right, just add the rose at the end of the output instead of in the $(urlfetch)
, like this:
$(eval d=`$(urlfetch https://beta.decapi.me/twitch/followage/zghasty/$(touser))`; `🌹 $(touser) sigue a Ghasty hace: ${d.replace(`years`,`años`).replace(`year`,`año`).replace(`months`,`meses`).replace(`month`,`mes`).replace(`days`,`dias`).replace(`day`,`día`).replace(`hours`,`horas`).replace(`hour`,`hora`).replace(`minutes`,`minutos`).replace(`minute`,`minuto`).replace(`seconds`,`segundos`).replace(`second`,`segundo`)} 🌹`)
2 Likes
system
Closed
October 16, 2020, 10:51pm
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.