When is it good to use rest and not?

When is it good to use rest and not?
5 Replies
d.js toolkit
d.js toolkit14mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Syjalo
Syjalo14mo ago
The /rest package? When you don't need the Gateway and caching.
DUCKODAS
DUCKODASOP14mo ago
Yeah that too, but also on events I mean like where should I use client.rest.on() and when should I not use rest?
d.js docs
d.js docs14mo ago
class Client (extends BaseClient) The main hub for interacting with the Discord API, and the starting point for any bot.
DUCKODAS
DUCKODASOP14mo ago
hm ill check it out thanks
Want results from more Discord servers?
Add your server