TÆMBØ
TÆMBØ
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 f1fty 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 f1fty 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
DIAdiscord.js - Imagine an app
Created by moodman on 11/11/2024 in #djs-questions
Discord.JS First Slash command guide not working
The enum member names are case-sensitive
32 replies
DIAdiscord.js - Imagine an app
Created by moodman on 11/11/2024 in #djs-questions
Discord.JS First Slash command guide not working
Events.InteractionCreate
32 replies
DIAdiscord.js - Imagine an app
Created by moodman on 11/11/2024 in #djs-questions
Discord.JS First Slash command guide not working
Ok, I would make sure your command files are actually being loaded
32 replies
DIAdiscord.js - Imagine an app
Created by moodman on 11/11/2024 in #djs-questions
Discord.JS First Slash command guide not working
Are you transpiling it first and running the outputted JS or using something like ts-node?
32 replies
DIAdiscord.js - Imagine an app
Created by moodman on 11/11/2024 in #djs-questions
Discord.JS First Slash command guide not working
How are you running the code?
32 replies
DIAdiscord.js - Imagine an app
Created by !Mazen. on 11/3/2024 in #djs-questions
error
Whatever you're trying to parse is in fact not parsable
4 replies
DIAdiscord.js - Imagine an app
Created by !Mazen. on 11/3/2024 in #djs-questions
error
A basic JS error
4 replies