Hello! How can i solve this [guild] problem?
...

45 Replies
mute-goldOPā¢3y ago
And i can't deaf my bot with moonlink.js
it is broken function
fair-roseā¢3y ago
@1Lucas1.apk
Hello, could you send a script to help you better? The error comes from the pause command
mute-goldOPā¢3y ago
When player doesn't exist, i get this error if i try to use pause/resume commands.

mute-goldOPā¢3y ago
6th line.
Describe the error better, let's say a step by step that you did that gave this error, so I can understand a little better
mute-goldOPā¢3y ago
First im restarting the my bot.
GG @'Forster, you just advanced to level 1!
mute-goldOPā¢3y ago
Then i try to use pause command, but u know i don't have a player at this time.
Then this error...
Aha, now I understand
You can use other moonlink functions
client.moon.players.has(interaction.guildId)
It will return true if it has the player of that guild, if not it will return false
mute-goldOPā¢3y ago
ok i got it then i have a question
i can't my bot deaf..
in the document has something wrong
I remembered, setDeaf and setMute are in player.connect() parameters
mute-goldOPā¢3y ago
I tried it.
I forgot to update the documentation on that part
mute-goldOPā¢3y ago

It didn't work did it?
mute-goldOPā¢3y ago
yes it didn't work
š¦
š
I will see the internal error
?play all i want
added track in queue
Olivia Rodrigo - All I Want (Official Video) is playing now
?eval client.moon.players.get(message.guild.id).connect(true, true)
Erro meu mesmo kkk
my mistake
mute-goldOPā¢3y ago
š
Now that I realized that I didn't leave it as an object
mute-goldOPā¢3y ago
Is this from Moonlink.js Rest?

mute-goldOPā¢3y ago
@1Lucas1.apk lol

mute-goldOPā¢3y ago
selfDean
?eval client.moon.players.get(message.guild.id).connect({ setDeaf: true, setMute: false })
now yes
Kkkk, Sometimes I change letters
Look, I don't know
?eval const Discord = require('discord.js')
const row = new Discord.ActionRowBuilder()
.addComponents(
new Discord.ButtonBuilder()
.setCustomId('publish_npm')
.setLabel('Publish')
.setStyle(Discord.ButtonStyle.Danger),
);
message.reply({components: [row] })
Publicado
Updated š
@'Forster Now it's okay
mute-goldOPā¢3y ago
ok
then i found one more mistake
we can't get requester
its undefined all time
GG @'Forster, you just advanced to level 2!
mute-goldOPā¢3y ago
and getting
player.queue.first()
is not include now playing.it's normal, the current stays in the current
player.current
It shows current
mute-goldOPā¢3y ago
it shows current but player.current giving null?
oh lol my misstake
?play all i want
added track in queue
Olivia Rodrigo - All I Want (Official Video) is playing now
?eval client.moon.players.get(message.guild.id)
?eval client.moon.players.get(message.guild.id).current
mute-goldOPā¢3y ago
why requester is undefined
Parameter to put user
I haven't made a function for this yet, but there's a way to put it