Is there a Client.rest alternative in v13.8?

In the main branch there is a property Client#rest used for making API calls. I am using v13.8 - what is the equivalent in this version?
8 Replies
Almeida
Almeida2y ago
client.rest is a private property
oxi
oxi2y ago
Sorry was just cleaning up the actual question. Alright thanks for the messages.
Almeida
Almeida2y ago
creating your own rest instance could be problematic because of ratelimits ah if its for deploying commands then you're probably fine
oxi
oxi2y ago
not using it for a live project - just experimenting with alternative ways wasn't there a way to access raw api calls in d.js, i remember people using it to implement slash commands before they were supported in the libary
Almeida
Almeida2y ago
through client.api, but its also private and its not typed either
oxi
oxi2y ago
yeah that's fine, if i run into any issues with it i won't come to the server, just experimenting a bit thanks for the help - going to archive this thread now
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
oxi
oxi2y ago
just experimenting a bit
Want results from more Discord servers?
Add your server