Closed Boochan1 closed 5 years ago
Hey, did you change the trigger to something else? Is the bot allowed to write/answer in this textchannel?
i havent changed any settings at all, the trigger is still !
and the bot has admin to my understanding. i have added it to the general channel everyone can type in there
Also this shows in console
[2019-02-11 16:16:16] [WARN]: [JDA MainWS-ReadThread] ERROR net.dv8tion.jda.core.JDA - One of the EventListeners had an uncaught exception[2019-02-11 16:16:16] [WARN]: java.lang.NullPointerException[2019-02-11 16:16:16] [WARN]: at de.blockbuild.musikbot.commands.MusicCommand.lambda$new$0(MusicCommand.java:29)[2019-02-11 16:16:16] [WARN]: at com.jagrosh.jdautilities.command.Command$Category.test(Command.java:698)[2019-02-11 16:16:16] [WARN]: at com.jagrosh.jdautilities.command.Command.run(Command.java:217)[2019-02-11 16:16:16] [WARN]: at com.jagrosh.jdautilities.command.impl.CommandClientImpl.onMessageReceived(CommandClientImpl.java:559)[2019-02-11 16:16:16] [WARN]: at com.jagrosh.jdautilities.command.impl.CommandClientImpl.onEvent(CommandClientImpl.java:442)[2019-02-11 16:16:16] [WARN]: at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84)[2019-02-11 16:16:16] [WARN]: at net.dv8tion.jda.core.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:127)[2019-02-11 16:16:16] [WARN]: at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37)[2019-02-11 16:16:16] [WARN]:
The bot is simply hosted by your mc server. You can't play music in minecraft itself. The id isn't correct. Please have a look to Sample config. The user id looks like: 012345678912345678 Please renew your token to protect your discord server. With this token everyone is able to connect as the bot to your server.
Also this shows in console
[2019-02-11 16:16:16] [WARN]: [JDA MainWS-ReadThread] ERROR net.dv8tion.jda.core.JDA - One of the EventListeners had an uncaught exception[2019-02-11 16:16:16] [WARN]: java.lang.NullPointerException[2019-02-11 16:16:16] [WARN]: at de.blockbuild.musikbot.commands.MusicCommand.lambda$new$0(MusicCommand.java:29)[2019-02-11 16:16:16] [WARN]: at com.jagrosh.jdautilities.command.Command$Category.test(Command.java:698)[2019-02-11 16:16:16] [WARN]: at com.jagrosh.jdautilities.command.Command.run(Command.java:217)[2019-02-11 16:16:16] [WARN]: at com.jagrosh.jdautilities.command.impl.CommandClientImpl.onMessageReceived(CommandClientImpl.java:559)[2019-02-11 16:16:16] [WARN]: at com.jagrosh.jdautilities.command.impl.CommandClientImpl.onEvent(CommandClientImpl.java:442)[2019-02-11 16:16:16] [WARN]: at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84)[2019-02-11 16:16:16] [WARN]: at net.dv8tion.jda.core.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:127)[2019-02-11 16:16:16] [WARN]: at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37)[2019-02-11 16:16:16] [WARN]:
I will have a look to this later today.
please tell me how to get the user ID. MY USER ID or the bot user ID like that would help alot. and save alot of back and forth commenting.
i've looked in the sample config. dosent help if i know what it looks like but not where to find it. you are just repeating everything on the main page. and i know the music plays in discord. the issue its not playing
From main Page: https://github.com/Block-Build/MusikBot
- Also fill in your Discord user ID
- You could easy get Channel and User ID's from discord by right click after enableing the Developer Mode
go to Settings > Appearance > Developer Mode
Does the error appear every time you enter a command? Could you invite me to your discord? So i can take a loot to the bot?
@Boochan1 any update?
Hi im downloaded this today and cant get it to work.
I have added the bot to my discord. and when i click the link in console i can choose my discord server in the list and then in my discord this appears
"It's MusikBot! Praise the sun! [T]/" so it looks like the bot is there
when i go into minecraft in cosnole it says MusikBot loaded succesfuly
but when i type !play songname... nothing happens What do i do? ?
is this a error