nightbot urlfetch with body/arguments?

I want to make a translate command using the libreTranslate API.
This API requires 3 arguments as the body when the request is sent.
As I understand it, nightbot only allows $(urlfetch) and no fetch/ajax/xhr… so how can I send an API request with a body using urlfetch?
Thanks in advance :slight_smile:

You can not do that with just nightbot however if you call to your own api to make the call for you that could work.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.