Pooyan
Pooyan
DIAdiscord.js - Imagine an app
Created by Pooyan on 9/2/2023 in #djs-questions
Check if a user has Nitro or not
Thanks
9 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 9/2/2023 in #djs-questions
Check if a user has Nitro or not
I found this: https://discord.com/developers/docs/resources/user#user-object-premium-types But Idk how to use it or if it is deprecated ro not
9 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 8/2/2023 in #djs-questions
Discord Invites
thanks
4 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/18/2023 in #djs-questions
Client only deploys 3-4 slash commands
thanks
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/18/2023 in #djs-questions
Client only deploys 3-4 slash commands
Yeah this solved the problem
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/18/2023 in #djs-questions
Client only deploys 3-4 slash commands
So I need to use client.application?.commands.create(<scommand.data>, <guild.id>) at the end of every slash command file or what? 💀
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/18/2023 in #djs-questions
Client only deploys 3-4 slash commands
discord.js v14.11.0 node.js v16
18 replies
DIAdiscord.js - Imagine an app
Created by MastaYoda on 7/10/2023 in #djs-questions
ReferenceError: client is not defined
Oh yeah sorry, I've forgot it
18 replies
DIAdiscord.js - Imagine an app
Created by MastaYoda on 7/10/2023 in #djs-questions
ReferenceError: client is not defined
I think this should fix it
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
Thanks Ariya
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
await interaction.reply({
embeds: [embed],
components: [row],
fetchReply: true,
});
const message = await interaction.fetchReply();
const collector = message.createMessageCollector({
time: 300000,
componentType: ComponentType.Button,
max: 2,
});
await interaction.reply({
embeds: [embed],
components: [row],
fetchReply: true,
});
const message = await interaction.fetchReply();
const collector = message.createMessageCollector({
time: 300000,
componentType: ComponentType.Button,
max: 2,
});
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
No difference
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
this didn't work too
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
I didn't get it FakeSmile
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
This didn't work
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
await interaction.reply({
embeds: [embed],
components: [row],
fetchReply: true,
});
const message = interaction.fetchReply();
const collector = message.createMessageCollector({
time: 300000,
componentType: ComponentType.Button,
max: 2,
});
await interaction.reply({
embeds: [embed],
components: [row],
fetchReply: true,
});
const message = interaction.fetchReply();
const collector = message.createMessageCollector({
time: 300000,
componentType: ComponentType.Button,
max: 2,
});
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
I Don't get it
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
message.createMessageComponentCollector(...)?
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
const message = interaction.reply(...)
18 replies
DIAdiscord.js - Imagine an app
Created by Pooyan on 7/8/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'id')
interaction.message or what?
18 replies