zackie
zackie
DIAdiscord.js - Imagine an app
Created by zackie on 7/23/2023 in #djs-questions
Pulling reactions not working when the message has a button attached
Hello when I run this code I get Collection(0) [Map] {} giving me no reactions to loop through. But when I try the same code on another message that does not have a button on it, I get this: Collection(1) [Map] { with my beloved reactions inside of it.
const message = await client.channels.cache.get(`977096542462808115`).messages.fetch(`1132567332921823323`)

console.log(message.reactions.cache)
const reaction = await message.reactions.cache.first();
const users = await reaction.users.fetch();
const message = await client.channels.cache.get(`977096542462808115`).messages.fetch(`1132567332921823323`)

console.log(message.reactions.cache)
const reaction = await message.reactions.cache.first();
const users = await reaction.users.fetch();
how can I fix this? @.gwapes
79 replies
DIAdiscord.js - Imagine an app
Created by zackie on 12/3/2022 in #djs-questions
Help with json
Collection(1) [Map] {
'response' => {
value: 'dsa',
type: 4,
customId: 'response',
components: undefined
}
}
Collection(1) [Map] {
'response' => {
value: 'dsa',
type: 4,
customId: 'response',
components: undefined
}
}
Please help me extract customId from this. My code: console.log(interaction.fields.fields)
4 replies
DIAdiscord.js - Imagine an app
Created by zackie on 12/2/2022 in #djs-questions
im dumb how do you see what discord.js version you're running?
.
6 replies
DIAdiscord.js - Imagine an app
Created by zackie on 10/16/2022 in #djs-questions
boosts
Is it possible to see the amount of boosts that an individual has used on a server? (I did try Google before this)
4 replies
DIAdiscord.js - Imagine an app
Created by zackie on 8/25/2022 in #djs-questions
user data
can you get users data like their username and using their userid if they don't share a server with the bot?
5 replies
DIAdiscord.js - Imagine an app
Created by zackie on 8/20/2022 in #djs-questions
Does discord.js v13 not let you fetch more than 100 reactions per message?
Does discord.js v13 not let you fetch more than 100 reactions per message?
10 replies