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 toolkit15mo 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
Syjalo15mo ago
The /rest package? When you don't need the Gateway and caching.
DUCKODAS
DUCKODASOP15mo 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 docs15mo ago
class Client (extends BaseClient) The main hub for interacting with the Discord API, and the starting point for any bot.
DUCKODAS
DUCKODASOP15mo ago
hm ill check it out thanks
Want results from more Discord servers?
Add your server