TÆMBØ
TÆMBØ
DIAdiscord.js - Imagine an app
Created by 선하루 on 3/30/2025 in #djs-questions
client dereference error
You shouldn't be exporting your client at all for this very reason. What are you doing in that command file that requires you to have the client? You should ideally just be using interaction.client
5 replies
DIAdiscord.js - Imagine an app
Created by LucaNL on 3/8/2025 in #djs-questions
Discord Move Logs
Yea, I misremembered thinking that the Audit Log created from it included who was moved, apologies. I can't think of any other method to be able to reliably pair who moved what user between VCs unfortunately
14 replies
DIAdiscord.js - Imagine an app
Created by LucaNL on 3/8/2025 in #djs-questions
Discord Move Logs
You'd need to search Audit Logs as well to get that specific information
14 replies
DIAdiscord.js - Imagine an app
Created by RateLimited on 3/6/2025 in #djs-questions
How to make a new line in app command string option type.
What you are trying to do is not possible with a slash command string option, it's a limitation imposed by Discord themselves. If you want to be able to receive text from a user with multi-line support, you should instead prompt the user with a modal that has a paragraph-styled text input field
7 replies
DIAdiscord.js - Imagine an app
Created by RateLimited on 3/6/2025 in #djs-questions
How to make a new line in app command string option type.
Discord limitation. Use a modal with a paragraph style text input field if you want to have multi-line string inputs
7 replies
DIAdiscord.js - Imagine an app
Created by skyhan on 2/23/2025 in #djs-questions
Possible AsyncEventEmitter memory leak detected
Are you using setInterval anywhere, such as for a rotating presence?
49 replies
DIAdiscord.js - Imagine an app
Created by br1t on 2/8/2025 in #djs-questions
how do i grab the role made by an integration
<GuildMember>.roles.botRole?.id Just as an FYI; this role is only created if the app is invited with the bot scope and with additional permissions
5 replies
DIAdiscord.js - Imagine an app
Created by Sasial on 1/10/2025 in #djs-questions
How do I convert an Attachment into a RawFile
files: [...message.attachments.values()]
12 replies
DIAdiscord.js - Imagine an app
Created by Sasial on 1/10/2025 in #djs-questions
How do I convert an Attachment into a RawFile
What is "user's attachments"? Are you referring to attachment options on a slash command? If so, using <Interaction>.options.getAttachment() will return the attachment for that option (if specified), which you can simply pass to the files option when sending the message
12 replies
DIAdiscord.js - Imagine an app
Created by haxz on 1/3/2025 in #djs-questions
badges
Not all badges have an associated user flag with them, and vice versa
16 replies
DIAdiscord.js - Imagine an app
Created by Silver on 12/26/2024 in #djs-questions
String select menu staying
Edit the message and pass in the same select menu into its components
4 replies
DIAdiscord.js - Imagine an app
Created by YK303 on 12/12/2024 in #djs-questions
member presence activities
I don't believe anything regarding presence activity details change whether or not your app is verified
11 replies
DIAdiscord.js - Imagine an app
Created by YK303 on 12/12/2024 in #djs-questions
member presence activities
Not much you can do about that. Again, it's a limitation imposed by the API, not by discord.js
11 replies
DIAdiscord.js - Imagine an app
Created by YK303 on 12/12/2024 in #djs-questions
member presence activities
🤷 API limitation You could inspect element your Discord client to get the hash for the image it and use https://cdn.discordapp.com/app-icons/${activity.applicationId}/${imageHash} if you really want the image, but that's a hacky way and not officially supported for resolving images from activities
11 replies
DIAdiscord.js - Imagine an app
Created by YK303 on 12/12/2024 in #djs-questions
member presence activities
I see a timestamp there, and the image is probably through Discord's app-icon CDN route as opposed to the other application image routes that largeImage and smallImage use
11 replies
DIAdiscord.js - Imagine an app
Created by as any on 12/11/2024 in #djs-questions
messageUpdate event comparsion problem
What differences are you trying to detect? Changes in only the text content of a message?
7 replies
DIAdiscord.js - Imagine an app
Created by as any on 12/11/2024 in #djs-questions
messageUpdate event comparsion problem
Compare the content, embeds, components, etc. rather than the entire messages themselves
7 replies
DIAdiscord.js - Imagine an app
Created by Char on 11/29/2024 in #djs-questions
All Intents
If you’re instead asking where to find the list of all possible intents that exist, see below
7 replies
DIAdiscord.js - Imagine an app
Created by Legita on 11/22/2024 in #djs-questions
Automatic publish announcements
You could run some sort of cron job every few hours to fetch messages from that channel and publish each one that hasn't already been published, though that'd still require an app to at least be installed in that guild in order to have access to those messages
10 replies
DIAdiscord.js - Imagine an app
Created by Legita on 11/22/2024 in #djs-questions
Automatic publish announcements
If you want the publishing to be practically instant with respect to when they're posted, yes
10 replies