whoneedsroads
DIAdiscord.js - Imagine an app
•Created by whoneedsroads on 5/2/2024 in #djs-questions
Best way to get active client from http request
Please tell me if this is absolutely crazy.
From a game we're sending an http request to an express app. At that point we want to refresh discord embeds in channels.
Currently, I'm setting up a client.once() and then login() and destroy(). The connection takes a bit of time and I hate to connect and disconnect each time (typically every 5 min)
Does anyone else do anything like this?
Is there a way i can get an active/logged in client?
6 replies