Block-Build / MusikBot

Discord Music Bot hosted on a Minecraft Server
GNU General Public License v3.0
11 stars 12 forks source link

reporting problem #52

Closed Lucifer187 closed 3 years ago

Lucifer187 commented 3 years ago

Hello, I have a little problem with this plugin, I have it on 1.8.8 and under 1.14.4. tested this message appears in both versions. What would you like to tell us?

https://pastebin.com/dBnWsyFK

the bot joint and also plays music

Block-Build commented 3 years ago

The error occurs while reading the Emojis in BotConfiguration.

Lucifer187 commented 3 years ago

ok, thanks to your help, the error is no longer displayed, but these warnings, what do they mean and are they relevant as a user or can this message be fixed in the next update? I would like to have my console as free of errors and warnings as possible:

https://pastebin.com/MzGHakpQ

I think the basic idea is great, that comes a little closer to the idea of my server, but now to the main question:

[spigot] could you program the bot so that the bot plays in the autojoin playlist and this then shows in discord which song is currently being played?

[discord] Similar to the spigot case, I add a playlist to the bot, it will also be played (with a display showing which song I have added), if a song in the playlist is over, it is unfortunately no longer displayed which song is currently playing (exception skip a song)

Block-Build commented 3 years ago

The warning are only nessasary if the bot dosn't work for any case. Just ignore them.

could you program the bot so that the bot plays in the autojoin playlist and this then shows in discord which song is currently being played?

Maybe i could write it in the channel topic 🤔. What do you think? grafik

For autoplay on startup you can use the guild configuration (just insert a playlist):

# Should the bot automaticly join the guild after startup?
Auto_Connect_On_Startup:
# Enable or disable
  Enabled: false
# The ID of the VoiceChannel the bot sould join.
# Example: 259798211111726208
  VoiceChannelId: 0
# Should the bot start a track after join?
# Insert an URL.
  Track: ''

Similar to the spigot case, I add a playlist to the bot, it will also be played (with a display showing which song I have added), if a song in the playlist is over, it is unfortunately no longer displayed which song is currently playing (exception skip a song)

You can use this commands for more information about the currently playing track

{prefix} play {prefix} p {prefix} info {prefix} i or {prefix} queue {prefix} q

to list all tracks in the queue.

Lucifer187 commented 3 years ago

Well, I don't think your idea is that bad, I might have another one. So that there would be an improved connection between the Minecraft and Discord API, my suggestion would look like this:

[Discord] {autojoin}

(interpreter) - [song]{time}

[Discord] {manual join}

[Java]

[Minecraft]

Block-Build commented 3 years ago

I'll implement an option to choose wether the bot should send a message for every song. Maybe the Channel topic thing too.

I keep the MC integration as small as possible. Because you can use the Bot on more than one Discord at a time.

Block-Build commented 3 years ago

Do you want to verify? Update your Guild Configuration grafik MusikBot-1.2.4-Shaded.zip

Lucifer187 commented 3 years ago

I have now tested it, the problem with the manual playlist on discord, this problem has been fixed and the song titles are continuously displayed, which title is currently playing, unfortunately the titles are not displayed in the notification window

Unfortunately, the problem with the automatic playlist still exists when the server is started, the first song is played, then the bot stops and the playlist unfortunately does not continue (the title or playlist is not displayed in the discord)

As in the last message, I would like it to be shown in Minecraft chat, as not everyone has multiple monitors

What confuses me, why did you install the TTS function in the bot, this (I think) is not used by most users

Block-Build commented 3 years ago

Unfortunately, the problem with the automatic playlist still exists when the server is started, the first song is played, then the bot stops and the playlist unfortunately does not continue (the title or playlist is not displayed in the discord)

could you provide me the guild configuration, so i can test you szenario?

And al little history of what you are doing, so i don't miss it. 1. 2.

As in the last message, I would like it to be shown in Minecraft chat, as not everyone has multiple monitors

This is not possible because the bot can be used in more than one discord guild at the same time

What confuses me, why did you install the TTS function in the bot, this (I think) is not used by most users

haha even i don't know this 😄 must be a discord feature i don't intigrate anything in this direction. How do you do it?

nfortunately the titles are not displayed in the notification window okay i'll look for it

Lucifer187 commented 3 years ago

could you provide me the guild configuration, so i can test you szenario?

Sure, download the File and Change zip to yml 459754340609949697.zip

And al little history of what you are doing, so i don't miss it.

well, my english is not the best, i come from germany and use the google translator, but i still try to say what i'm doing step by step:

  1. I download the plugin
  2. add the plugin in my minecraft server plugin folder and start the server
  3. In the meantime, when the server starts, I set up the bot on my discord (no matter which bot I set up, I make the same errors every time and then wonder why it doesn't work xD)
  4. Once the server has loaded the bot, I close or restart the server after I have entered the data where the bot should be located
  5. if everything is set up correctly, I am happy and then take care of other things please excuse if it comes down as if i wanted to kid you, this is the only way my approach is

This is not possible because the bot can be used in more than one discord guild at the same

you say you could use the bot multiple times when the auto bot is active and i'm in another channel, bot tells me i have to be in the same channel, how do i get the bot to stay in autobot mode , I can use it in another channel?

haha even i don't know this 😄 must be a discord feature i don't intigrate anything in this direction. How do you do it?

hm .... that may be possible because I had errors in it before, but then they were gone, took TTS out again, it still seems to work, everything is very strange xD

Block-Build commented 3 years ago

Ich habe noch ein paar Sachen angepasst: MusikBot-1.2.3-Shaded.zip

you say you could use the bot multiple times when the auto bot is active and i'm in another channel, bot tells me i have to be in the same channel, how do i get the bot to stay in autobot mode , I can use it in another channel?

In mehreren Discord Servern, nicht mehrere auf einem Server.

Woher kommst du?

Lucifer187 commented 3 years ago

Woher kommst du? ich komme aus Berlin, das ist schön, das du auch Deutscher bist, das vereinfacht uns die Kommunikation ^^

aber wieder zurück zum Thema, eine gute Nachricht habe ich, das Problem mit der automatischen Playlist wurde gefixt und die Playlist läuft beim start automatisch weiter ( zumindest für Youtube ), das einzige Problem was ich in der automatischen Playlist noch sehe ist:

führt zu verwirrung ( bild 2 )

Die Popup Benachrichtigung: ich würde es angemessener finden, wenn du die Popup Benachrichtigung noch etwas anpassen würdest, ( siehe bild mobile und Windows) popup windows

mobile popup

Block-Build commented 3 years ago

Die ersten 2 Fehler müsste ich behoben haben (nicht getestet)

Aussetzer habe ich keine. Muss an deinem MC Server, PC oder Internet liegen.

Youtube geht ja. Soundcloud und Spotify sollten theoretisch auch gehen. habe ich aber nie ausprobiert (habe beides nicht). Schaue ich mir eventuell mal an wenn ich zu viel Zeit habe.

Auf dem Smartphone das sieht doch gut aus... oder? 😄 Ich kann nur den Text ändern welcher in den Chat gesendet wird. Die Benachrichtigung bastelt discord selber. Das die Emojis nicht klappen kann ich glaube ich nicht beeinflussen.

Block-Build commented 3 years ago

Dachte ich mir schon, weil Soundcloud hatte ich irgendwann mal getestet: https://github.com/sedmelluq/lavaplayer/issues/571

Werde ich dann updaten wenn die Version fertig ist

Lucifer187 commented 3 years ago

Auf dem Smartphone das sieht doch gut aus... oder? 😄

Klar sieht es auf dem Smartphone gut aus, desto deprimierender ist es, das es in der Popup Benachrichtigung unter Windows nicht so aussieht

Dachte ich mir schon, weil Soundcloud hatte ich irgendwann mal getestet:

ich bin mir nicht sicher, aber in der letzten Datei, die du mir geschickt hattest, war es meines Wissens möglich. Mein ziel ist es, dir überflüssige fragen zu ersparen, die in einem schritt behoben werden können ^^

> kann man den Bot für alle Musikplattformen nutzen ?

ich habe mir mal eben deine Kritik freudigen Kommentare angeschaut, leider gehöre ich auch dazu und versuche es mit dir zu bearbeiten bzw. zu klären

nicht jeder möchte dein Icon nutzen ( die Kritik habe ich dir auch schon geschrieben ), es wäre nett, wenn du uns die Möglichkeit gibst, das wir unsere Icons nutzen können, habe es mal getestet, und an sich wäre es auch möglich ( siehe bild 1 ) infoboard

dieses wird jedoch nicht im channel umgeändert ( siehe bild 2 ) channel info

leider wird dein Icon zwanghaft neu erstellt, nachdem der bot neugestartet wird

Block-Build commented 3 years ago

Gerne nochmal Testen. SoundCloud geht auch wieder. MusikBot-1.2.4-Shaded.zip

Wenn dir noch Fehler auffallen bitte bescheid geben, dann kann ich das noch korrigieren.

Das Icon soll nicht geändert werden.

Lucifer187 commented 3 years ago

Das Icon soll nicht geändert werden.

Wenn die neue Version raus kommt, wird es vermutlich viel Kritik regnen, bitte lasse es dir bewusst sein.

Gibt es eine möglichkeit, den src zu bekommen, das wir es selber ändern können?

Die Playlist von Soundcloud wird wieder erkannt, doch leider funktioniert bis jetzt immer noch nicht, das bei bot start, der 1. track in discord angezeigt wird, erst ab dem 2. Track

Block-Build commented 3 years ago

Die Playlist von Soundcloud wird wieder erkannt, doch leider funktioniert bis jetzt immer noch nicht, das bei bot start, der 1. track in discord angezeigt wird, erst ab dem 2. Track

Habe ich nochmal überprüft und korrigiert.

Der Source liegt doch offen...?