Joãozinho
DIAdiscord.js - Imagine an app
•Created by Joãozinho on 7/25/2024 in #djs-questions
How do I make this selected?
6 replies
DIAdiscord.js - Imagine an app
•Created by Joãozinho on 6/30/2024 in #djs-questions
Does anyone know how I can do this without getting the error DiscordAPIError[50001]: Missing Access
5 replies
DIAdiscord.js - Imagine an app
•Created by Joãozinho on 6/13/2024 in #djs-questions
How do I leave it like this? no name appears
8 replies
DIAdiscord.js - Imagine an app
•Created by Joãozinho on 6/11/2024 in #djs-questions
How do I end a poll that is in the message?
<ref *1> Message {
channelId: '1248070720551129090',
guildId: '1226647840005160980',
id: '1250225712741220372',
createdTimestamp: 1718147437988, type: 0, system: false, content: '@Joãozinho', author: ClientUser { id: '1247652572286947339',
bot: true, system: false, flags: UserFlagsBitField { bitfield: 0 }, username: 'Joaozinho FIVEM', globalName: null, discriminator: '6978', avatar: null, banner: null, accentColor: null, avatarDecoration: null, verified: true, mfaEnabled: false }, pinned: false, tts: false, nonce: null, embeds: [], components: [ ActionRow { data: [Object], components: [Array] } ], attachments: Collection(0) [Map] {}, stickers: Collection(0) [Map] {}, position: 0, roleSubscriptionData: null, resolved: { members: Collection(0) [Map] {}, users: Collection(0) [Map] {}, roles: Collection(0) [Map] {}, channels: Collection(0) [Map] {} }, editedTimestamp: null, reactions: ReactionManager { message: [Circular *1] }, mentions: MessageMentions { everyone: false, users: Collection(1) [Map] { '852603072026247220' => [User] }, roles: Collection(0) [Map] {}, _members: null, _channels: null, _parsedUsers: null, crosspostedChannels: Collection(0) [Map] {}, repliedUser: null }, webhookId: null, groupActivityApplication: null, applicationId: null, activity: null, flags: MessageFlagsBitField { bitfield: 0 }, reference: null, interaction: null, poll: Poll { question: { text: 'a' }, answers: Collection(2) [Map] { 1 => [PollAnswer], 2 => [PollAnswer] }, expiresTimestamp: 1718752237937, allowMultiselect: false, layoutType: 1, resultsFinalized: false } }
id: '1250225712741220372',
createdTimestamp: 1718147437988, type: 0, system: false, content: '@Joãozinho', author: ClientUser { id: '1247652572286947339',
bot: true, system: false, flags: UserFlagsBitField { bitfield: 0 }, username: 'Joaozinho FIVEM', globalName: null, discriminator: '6978', avatar: null, banner: null, accentColor: null, avatarDecoration: null, verified: true, mfaEnabled: false }, pinned: false, tts: false, nonce: null, embeds: [], components: [ ActionRow { data: [Object], components: [Array] } ], attachments: Collection(0) [Map] {}, stickers: Collection(0) [Map] {}, position: 0, roleSubscriptionData: null, resolved: { members: Collection(0) [Map] {}, users: Collection(0) [Map] {}, roles: Collection(0) [Map] {}, channels: Collection(0) [Map] {} }, editedTimestamp: null, reactions: ReactionManager { message: [Circular *1] }, mentions: MessageMentions { everyone: false, users: Collection(1) [Map] { '852603072026247220' => [User] }, roles: Collection(0) [Map] {}, _members: null, _channels: null, _parsedUsers: null, crosspostedChannels: Collection(0) [Map] {}, repliedUser: null }, webhookId: null, groupActivityApplication: null, applicationId: null, activity: null, flags: MessageFlagsBitField { bitfield: 0 }, reference: null, interaction: null, poll: Poll { question: { text: 'a' }, answers: Collection(2) [Map] { 1 => [PollAnswer], 2 => [PollAnswer] }, expiresTimestamp: 1718752237937, allowMultiselect: false, layoutType: 1, resultsFinalized: false } }
13 replies
DIAdiscord.js - Imagine an app
•Created by Joãozinho on 6/11/2024 in #djs-questions
Is there any way for me to check which servers a user is on by their ID? , or any API that lets me s
Is there any way for me to check which servers a user is on by their ID? , or any API that lets me see which server the user is on?
3 replies
DIAdiscord.js - Imagine an app
•Created by Joãozinho on 6/10/2024 in #djs-questions
How can I edit interaction.update, because if I use interaction.editReply it edits followUp
13 replies
DIAdiscord.js - Imagine an app
•Created by Joãozinho on 5/28/2024 in #djs-questions
Is there any way for me to pull the logo of a server just by its id, and the name without having to
Is there any way for me to pull the logo of a server just by its id, and the name without having to have a bot of mine on such a server?
17 replies
DIAdiscord.js - Imagine an app
•Created by Joãozinho on 5/14/2024 in #djs-questions
Can I set the slash only for those who have a certain role?
9 replies
DIAdiscord.js - Imagine an app
•Created by Joãozinho on 4/8/2024 in #djs-questions
how can i get thestatus
const members = await guild.members.fetch();
const shuffledMembers = Array.from(members.values()).filter(member => !member.user.bot).sort(() => Math.random() - 0.5);
for (const member of shuffledMembers) {
try {
console.log(member.presence);
if (member.presence.status !== 'online') continue;
it just keeps giving null
6 replies