• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Announce do not work well

AngelDeaD

#stayinghome
Hi,

SinusBot 1.0.0-alpha.4-311d85f (I was on 0.13.XX version, but it expired and I have to move on to 0.14, but even there I have problem, I also tried fresh install of 1.0.0-alpha.4-311d85f but still same)
I put this in my announce field: Pustam %s naredila %i
In chat, bot sends 2 messages for each !yt URL

<22:31:00> "[Music-Bot] Končitin Rob": Pustam naredila [Music-Bot] Končitin Rob
<22:31:00> "[Music-Bot] Končitin Rob": Pustam LidaLorena - NOBODY CARES naredila [Music-Bot] Končitin Rob

Problems with this:
  1. %i is always bot's name, in 0.13 version it was the name of user that is registered with sinusbot, only when it's queued then it's bot's name, which is okey.
  2. It sends 1st message without name of song, in other words %s is empty in first message (and first message is not needed at all).
Server log: I have loglevel 10 but in server log there is nothing about this
2019/02/13 22:30:57 916ec1bd 6a7bde2f INFO CHAT 2 [koncita @ Končita] < yt https://www.youtube.com/watch?v=1_T6 XMDg53g > / OK
2019/02/13 22:30:59 916ec1bd DEBUG new track information from remote track: LidaLorena - NOBODY CARES
2019/02/13 22:30:59 916ec1bd 6a7bde2f DEBUG New channel () ID bcc391d5-dda6-4cc9-b27f-d84fa0a17a74 (cc 1)
2019/02/13 22:30:59 916ec1bd 6a7bde2f DEBUG Removing duplicate channel for alias () ID a7466c2f-1229-4e76-af55-84b94d0393f7
2019/02/13 22:30:59 916ec1bd 6a7bde2f DEBUG new track info: ()
2019/02/13 22:30:59 916ec1bd 6a7bde2f DEBUG Awaiting Callback (1): PR:{5b700e5d-7b2c-494d-820e-c035c2b5288f}:1679/DESC
2019/02/13 22:31:00 916ec1bd 6a7bde2f DEBUG new track info: LidaLorena - NOBODY CARES (4c6964614c6f72656e61202d204e4f424f4459204341524553)
2019/02/13 22:31:00 916ec1bd 6a7bde2f DEBUG Awaiting Callback (1): PR:{5b700e5d-7b2c-494d-820e-c035c2b5288f}:1681/DESC
2019/02/13 22:31:00 916ec1bd 6a7bde2f DEBUG Removing closed channel () ID a7466c2f-1229-4e76-af55-84b94d0393f7
2019/02/13 22:31:00 916ec1bd 6a7bde2f DEBUG Deleting channel () ID a7466c2f-1229-4e76-af55-84b94d0393f7 (cc 2)
2019/02/13 22:31:00 916ec1bd 6a7bde2f DEBUG Deleting temporary file
2019/02/13 22:31:06 916ec1bd 6a7bde2f DEBUG Stopping
2019/02/13 22:31:06 916ec1bd 6a7bde2f INFO CHAT 2 [koncita @ Končita] < stop > / OK
 
Top