Palacelaw
Palacelaw
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
ALL I NEED IT IT TO BE FIX
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
OK
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
I DID IT
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
@polarwolvinny ❄ 🌈 https://sourceb.in/QhbsphHPSg
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
@polarwolvinny ❄ 🌈
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
@polarwolvinny ❄ 🌈
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
Ok
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
O
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
Waht
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
It on for 1 seconds and then levs
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
Ok but how do I fix
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/24/2023 in #djs-voice
PLS FIX IT IN THE CHANL FOR 1S AND LEVSconst { SlashCommandBuilder } = require('discord.js');const
HELP
24 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/16/2023 in #djs-voice
i so i need a muisc slash command and i need it to wrck i can give my code but it dos not wrck
ug
12 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/16/2023 in #djs-voice
i so i need a muisc slash command and i need it to wrck i can give my code but it dos not wrck
@Qjuh
12 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/16/2023 in #djs-voice
i so i need a muisc slash command and i need it to wrck i can give my code but it dos not wrck
pls fix
12 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/16/2023 in #djs-voice
i so i need a muisc slash command and i need it to wrck i can give my code but it dos not wrck
const { SlashCommandBuilder } = require('@discordjs/builders'); const { joinVoiceChannel, createAudioPlayer, NoSubscriberBehavior, AudioPlayerStatus, VoiceConnectionStatus } = require('@discordjs/voice'); const { LavalinkClient } = require('lavalink'); const command = { data: new SlashCommandBuilder() .setName('music') .setDescription('Plays a song using Lavalink'), async execute(interaction, client) { const voiceChannel = interaction.member.voice.channel; if (!voiceChannel) { return interaction.reply('You need to be in a voice channel to use this command!'); } const player = createAudioPlayer({ behaviors: { noSubscriber: NoSubscriberBehavior.Pause } }); const connection = joinVoiceChannel({ channelId: voiceChannel.id, guildId: interaction.guild.id, adapterCreator: interaction.guild.voiceAdapterCreator, }); connection.subscribe(player); const lavalinkClient = new LavalinkClient(client, [{ name: 'main', url: 'lava1.horizxon.tech', port: '443', password: 'horizxon.tech', secure: true }]); await lavalinkClient.connect(); const track = await lavalinkClient.loadTracks('rick rool'); if (track) { player.play(track); interaction.reply('Now playing: Rick Astley - Never Gonna Give You Up'); } else { interaction.reply('Could not find the track.'); } player.on(AudioPlayerStatus.Playing, () => { console.log('The audio is now playing!'); }); player.on('error', error => { console.error(Error: ${error.message}); }); } }; module.exports = command;
12 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/16/2023 in #djs-voice
i so i need a muisc slash command and i need it to wrck i can give my code but it dos not wrck
o god
12 replies
DIAdiscord.js - Imagine an app
Created by Palacelaw on 12/16/2023 in #djs-voice
i so i need a muisc slash command and i need it to wrck i can give my code but it dos not wrck
idk waht a goood on
12 replies
DIAdiscord.js - Imagine an app
Created by Zorceon127 on 11/13/2023 in #djs-voice
Voice keeps crashing
code
21 replies