$(urlfetch (my api url)/nightbot/multiline?raw=true&msgs=$(eval const names = '$(querystring)'.split(' '); const channels = names.map(n => $(twitch ${n} "{{url}} - [{{game}}]")).join(' |'); const initText = encodeURIComponent('Please check out the following channels:') + ' |'; const msgs = [initText, channels].join(''); msgs))
Can someone help me find out whats wrong here? Its posting everything in this block above ^ instead of the api response, im intending on.
