Kevinnnn
DIAdiscord.js - Imagine an app
•Created by Kevinnnn on 4/10/2024 in #djs-questions
WebhookClient vs raw request
What are the benefits of using
WebhookClient
over sending a raw request, and vice versa?
Currently, it is just being used to send logs and nothing complex, so I have a feeling sending raw requests will be more beneficial than creating a WebhookClient
object every time I need to send a webhook message.
I dove into the source code and saw that the WebhookClient
uses the main REST client to send requests, does this count towards the bots overall rate limit or is this separate?
What other major factors should I consider when using raw requests over WebhookClient
?3 replies
DIAdiscord.js - Imagine an app
•Created by Kevinnnn on 7/23/2022 in #djs-questions
[RESOLVED] repliedUser in MessageMentionOptions not working
hi, not 100% sure if this is me being dumb or not, but it is not pinging me for in-line replies
17 replies