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 toolkit2y 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
Syjalo2y ago
The /rest package? When you don't need the Gateway and caching.
DUKOBUZ
DUKOBUZOP2y 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 docs2y ago
class Client (extends BaseClient) The main hub for interacting with the Discord API, and the starting point for any bot.
DUKOBUZ
DUKOBUZOP2y ago
hm ill check it out thanks

Did you find this page helpful?