piemot
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by piemot on 4/14/2024 in #djs-questions
Do sweepers invalidate references to the swept object?
For instance, if my sweeper setup is , but I fetch members somewhere else via a
guild.members.fetch()
call:
and hold that array in memory for future access, what happens to the member objects when the sweeper triggers? Are they protected and thus the sweeper holds more member objects than the maximum?3 replies
DIAdiscord.js - Imagine an app
•Created by piemot on 7/6/2023 in #djs-questions
Typing Oauth2Guild
Does anyone know if
discord-api-types
has a builtin type for an Oauth2Guild (i.e. a guild fetched via the oauth2 api/v10/users/@me/guilds
route) or would it just be 7 replies
DIAdiscord.js - Imagine an app
•Created by piemot on 2/20/2023 in #djs-questions
Detect bot's inviter
Is there any way to find the user that invited the bot when it's added to a guild?
4 replies