acatto
acatto
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
thanks for the help
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
i got it working
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
i've also regenerated it
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
no, i'm editing my package.json
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
No description
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
oh it's discord.js's opusscript
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
so confusing, i installed 0.1.1 but it still says 0.0.8
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
which versions are they now on?
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
okay give me one sec lemme update them
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
oh here's my new playClickSound() function btw:
function playClickSound(connection) {
const player = createAudioPlayer();
const resource = createAudioResource(path.resolve(__dirname, 'sound-effects/click.mp3'), {
inlineVolume: true
});
resource.volume.setVolume(1.0);
if (!connection) {
console.error('Voice connection is undefined.');
return;
}
connection.subscribe(player);
player.play(resource);

player.on('error', (error) => {
console.error(`Error playing sound: ${error.message}`);
});

player.on('idle', () => {
console.log('Finished playing the click sound.');
});
}
function playClickSound(connection) {
const player = createAudioPlayer();
const resource = createAudioResource(path.resolve(__dirname, 'sound-effects/click.mp3'), {
inlineVolume: true
});
resource.volume.setVolume(1.0);
if (!connection) {
console.error('Voice connection is undefined.');
return;
}
connection.subscribe(player);
player.play(resource);

player.on('error', (error) => {
console.error(`Error playing sound: ${error.message}`);
});

player.on('idle', () => {
console.log('Finished playing the click sound.');
});
}
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
prism media is wrong tho its on the 2.0.0 alpha branch
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
those are mine
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
--------------------------------------------------
Core Dependencies
- @discordjs/voice: 0.17.0
- prism-media: 1.3.5

Opus Libraries
- @discordjs/opus: not found
- opusscript: 0.0.8

Encryption Libraries
- sodium-native: not found
- sodium: not found
- libsodium-wrappers: not found
- tweetnacl: 0.14.5

FFmpeg
- version: 5.1.6-0+deb12u1
- libopus: yes
--------------------------------------------------
--------------------------------------------------
Core Dependencies
- @discordjs/voice: 0.17.0
- prism-media: 1.3.5

Opus Libraries
- @discordjs/opus: not found
- opusscript: 0.0.8

Encryption Libraries
- sodium-native: not found
- sodium: not found
- libsodium-wrappers: not found
- tweetnacl: 0.14.5

FFmpeg
- version: 5.1.6-0+deb12u1
- libopus: yes
--------------------------------------------------
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
do i have to set the volume or is it automatically on 100%
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
well i fixed most of it however i can't get it to play the sound
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
oh yeah mb one second
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
No description
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
oh okay, it fixed the ffmpeg error however i'm getting this now
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
ok i installed 0.17.0 now
34 replies
DIAdiscord.js - Imagine an app
Created by acatto on 9/30/2024 in #djs-voice
Trying to play a clicking sound effect in a voice channel, however I get this instead.
hmmm one second
34 replies