Isra
Isra
Explore posts from servers
AOAnswer Overflow
Created by Isra on 6/21/2023 in #mark-solution-tags
Just testing
What is TypeScript?
4 replies
DIAdiscord.js - Imagine an app
Created by Isra on 1/27/2023 in #djs-voice
How can I know if a member manages another member?
No idea how to do this one
9 replies
DIAdiscord.js - Imagine an app
Created by Isra on 12/3/2022 in #djs-questions
Make a stats file?
I am using express and have a router file which I want to use to send client.guilds.cache.size. But I don't have access to client because it is in index.js not routes/stats.js. If I require index.js which defines my client it will rerun the whole file and mess it up
18 replies
DIAdiscord.js - Imagine an app
Created by Isra on 11/9/2022 in #djs-questions
Check if user a can manage user b?
How is this possible from an interaction point?
14 replies
DIAdiscord.js - Imagine an app
Created by Isra on 10/31/2022 in #djs-questions
Why isn't PermissionsBitField.Flags.Administat admin?
My code
const invite = client.generateInvite({
permissions: PermissionsBitField.Flags.Administator,
scopes: ['bot'],
});
const invite = client.generateInvite({
permissions: PermissionsBitField.Flags.Administator,
scopes: ['bot'],
});
It returns: https://discord.com/api/oauth2/authorize?client_id=883125551139799070&scope=bot (not advertising)
4 replies
DIAdiscord.js - Imagine an app
Created by Isra on 10/2/2022 in #djs-questions
No ready event
13 replies
DIAdiscord.js - Imagine an app
Created by Isra on 9/25/2022 in #djs-questions
Cannot send file
await interaction.reply({
ephemeral: true,
files: skin.map(
(i) =>
new AttachmentBuilder(
Buffer.from(i.file, 'base64'),
{ name: `${i.name}.png` }
)
),
});
await interaction.reply({
ephemeral: true,
files: skin.map(
(i) =>
new AttachmentBuilder(
Buffer.from(i.file, 'base64'),
{ name: `${i.name}.png` }
)
),
});
This code used to work in v13 but now silently fails with an interaction error
15 replies
DIAdiscord.js - Imagine an app
Created by Isra on 9/23/2022 in #djs-questions
Callback function for 429's?
How can I run a function when a 429 is hit?
6 replies