duck
duck
DIAdiscord.js - Imagine an app
Created by ethan<333 on 11/10/2024 in #djs-questions
Property 'SoundboardSoundCreate' does not exist on type 'typeof AuditLogEvent'
everyone using the latest stable version again, the issue is that what you're trying to use was implemented after the latest stable version
16 replies
DIAdiscord.js - Imagine an app
Created by ethan<333 on 11/10/2024 in #djs-questions
Property 'SoundboardSoundCreate' does not exist on type 'typeof AuditLogEvent'
as for soundboard sounds actually being supported in discord.js, the pr for that still has yet to be merged
16 replies
DIAdiscord.js - Imagine an app
Created by ethan<333 on 11/10/2024 in #djs-questions
Property 'SoundboardSoundCreate' does not exist on type 'typeof AuditLogEvent'
well as mentioned in #djs-help-v14, that was added to discord-api-types in 0.37.103, therefore your version won't have it what amgelo was probably missing is that the pr for unpinning discord-api-types came after the latest stable version, so it'd still use 0.37.100 on a fresh install you could manually override/resolve a discord-api-types version in your package.json, or you can wait for the next release
16 replies
DIAdiscord.js - Imagine an app
Created by Vogue on 11/4/2024 in #djs-questions
Multiple Embeds Being Sent
just to clarify, I assume you mean that it's sending the same embed multiple times? is it sending multiple messages per command, or multiple per message? have you confirmed that you don't have multiple instances of your bot running? just making absolutely sure, is there a reason why you say "this should be the code" rather than something more definite?
3 replies
DIAdiscord.js - Imagine an app
Created by Sincerely, alxx ᴬᴳ on 11/3/2024 in #djs-questions
Slash commands not being created
instead of multiple listeners per event, just have 1 per event then delegate work from there
44 replies
DIAdiscord.js - Imagine an app
Created by Sincerely, alxx ᴬᴳ on 11/3/2024 in #djs-questions
Slash commands not being created
(it doesn't, it just edits the command)
44 replies
DIAdiscord.js - Imagine an app
Created by Sincerely, alxx ᴬᴳ on 11/3/2024 in #djs-questions
Slash commands not being created
honestly I'd suggest reorganizing and consolidating all of your event listeners into 1 listener per event so that it's less confusing about what executes when
44 replies
DIAdiscord.js - Imagine an app
Created by Sincerely, alxx ᴬᴳ on 11/3/2024 in #djs-questions
Slash commands not being created
I also worry that when you say this is in ./rules, that means with the following, you're adding a ClientReady listener when ClientReady is emitted
const { setupRules } = require('./rules');
client.on(Events.ClientReady, () => {
// Call the setup function
setupFunction(client);
});
const { setupRules } = require('./rules');
client.on(Events.ClientReady, () => {
// Call the setup function
setupFunction(client);
});
44 replies
DIAdiscord.js - Imagine an app
Created by John Snos on 11/1/2024 in #djs-voice
Play audio problem
once again, especially if you weren't destroying the connection, the connection should not have been playing audio from a different AudioPlayer
84 replies
DIAdiscord.js - Imagine an app
Created by John Snos on 11/1/2024 in #djs-voice
Play audio problem
could you explain your reasoning? once again, that should not be the source of the issue, and if it is, something still needs to be fixed
84 replies
DIAdiscord.js - Imagine an app
Created by John Snos on 11/1/2024 in #djs-voice
Play audio problem
please add these for both the audio player and connection and share the output
84 replies
DIAdiscord.js - Imagine an app
Created by John Snos on 11/1/2024 in #djs-voice
Play audio problem
I'm not entirely sure how you've drawn that conclusion, but that should not be the issue once again, this code should not be causing this issue, and if it truly does, it'd be an issue with the library
84 replies
DIAdiscord.js - Imagine an app
Created by John Snos on 11/1/2024 in #djs-voice
Play audio problem
could you answer this as well
84 replies
DIAdiscord.js - Imagine an app
Created by John Snos on 11/1/2024 in #djs-voice
Play audio problem
is it possible that this, the green circle, is the only means by which you're checking whether it's playing in other servers?
84 replies
DIAdiscord.js - Imagine an app
Created by John Snos on 11/1/2024 in #djs-voice
Play audio problem
I do yes
84 replies
DIAdiscord.js - Imagine an app
Created by John Snos on 11/1/2024 in #djs-voice
Play audio problem
can you share this updated code?
84 replies