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
Almeida3y ago
client.rest is a private property
oxi
oxiOP3y ago
Sorry was just cleaning up the actual question. Alright thanks for the messages.
Almeida
Almeida3y ago
creating your own rest instance could be problematic because of ratelimits ah if its for deploying commands then you're probably fine
oxi
oxiOP3y 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
Almeida3y ago
through client.api, but its also private and its not typed either
oxi
oxiOP3y 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 User3y ago
Message Not Public
Sign In & Join Server To View
oxi
oxiOP3y ago
just experimenting a bit
Want results from more Discord servers?
Add your server