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