Sopur / Discord-user-bots

Working discord user bots library.
MIT License
81 stars 35 forks source link

Proxy Error: fetchRequest not returned in build_noparse #49

Closed octo-kumo closed 2 months ago

octo-kumo commented 1 year ago

https://github.com/Sopur/Discord-user-bots/blob/ad04e833957265e387db2d5b5dedc8d6c5ffeaec/src/auth/fetch.js#L78-L86

The fetchRequest was in fact, not returned, resulting in an undefined options being passed to the fetch function.

This only affect proxies, normal usage is probably not affected.

After adding in a return statement, my proxy worked.