Splamy / TS3AudioBot

Advanced Musicbot for Teamspeak 3
https://splamy.de/TSAudioBot/Home
Open Software License 3.0
701 stars 140 forks source link

Bot is executing different commands when trying to execute !yt or related commands #1004

Closed MosquitoCoding closed 2 years ago

MosquitoCoding commented 2 years ago

Describe the problem Can somebody explain me what is going on? My bot seems to execute different commands when I try to do a YouTube search.

To Reproduce I have no clue, I just tried out the bot. Playing urls and normal bot commands like !bot come or move, !volume, !pause, !stop, !resume and stuff like that works just fine.

Mono version: Mono JIT compiler version 6.12.0.122

2022-07-22 12:42:16.7479| INFO|Core|Setup.LogHeader [ Date: Friday, 22 July 2022 12:42:16
2022-07-22 12:42:16.9098| INFO|Core|Setup.LogHeader [ Version: 0.12.0/master/768c1867
2022-07-22 12:42:16.9098| INFO|Core|Setup.LogHeader [ Build: Release
2022-07-22 12:42:16.9098| INFO|Core|Setup.LogHeader [ Platform: Ubuntu 20.04.3 LTS (Focal Fossa) (64bit)
2022-07-22 12:42:16.9098| INFO|Core|Setup.LogHeader [ Runtime: .NET Framework 3.1.13 ServerGC:True GC:SustainedLowLatency
2022-07-22 12:42:16.9098| INFO|Core|Setup.LogHeader [ Opus: libopus 1.3.1 (x64)
2022-07-22 12:42:16.9098| INFO|Core|Setup.LogHeader [==============================================]
2022-07-22 12:42:17.8985| INFO|Core|WebServer.StartWebServerInternal Starting Webserver on port 58913
2022-07-22 12:42:18.1957| INFO|Core|Bot.Run Bot "default" connecting to ""
2022-07-22 12:42:19.4802| INFO|Core|Ts3Client.ConnectClient Client connected.
2022-07-22 12:42:26.6546| INFO|0|Bot.OnMessageReceived User Mosquito requested: !bot come
2022-07-22 12:42:26.8005| WARN|0|RightsManager.ReadFile Rule has no matcher and will always match
2022-07-22 12:42:35.2230| INFO|0|Bot.OnMessageReceived User Mosquito requested: !ytp confident
2022-07-22 12:43:16.3567| INFO|0|Bot.OnMessageReceived User Mosquito requested: !yt rammstein sonne
2022-07-22 12:52:17.2739| INFO|0|Bot.OnMessageReceived User Mosquito requested: !info
2022-07-22 12:52:20.9786| INFO|0|Bot.OnMessageReceived User Mosquito requested: !bot version
2022-07-22 12:53:12.0777| INFO|0|Bot.OnMessageReceived User Mosquito requested: !version

image

MosquitoCoding commented 2 years ago

I see that the command !yt has only two sub commands: info and quit. I will have a look at some wiki stuff of yours. Maybe I can find the solution there. If somebody already know whats wrong or maybe not installed or any other information feel free to comment

Flakebi commented 2 years ago

Hi, you need to add aliases for !yt to work: https://github.com/Splamy/TS3AudioBot/wiki/FAQ#search-and-play-youtube-songs Without them, yt will match the closest command, which probably is !system (guessing from the info and quit subcommands).

MosquitoCoding commented 2 years ago

Thank you so much :)