Splamy / TS3AudioBot

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

How working new !settings? #303

Closed Mareczin closed 6 years ago

Mareczin commented 6 years ago

Hey i have a little question. How after updates now working command !settings? How i can for example set DefaultChannel for selected instance? !settings QueryConnection::DefaultChannel - not working :(

Regards ;)

koznov commented 6 years ago

Maybe reopen this issue? In latest stable version : Version: 0.8.1 Branch: master CommitHash: cb1448a5c30edf4649f8f49fa4c0212096764515 there is no help commands for !settings And !settings is not working anymore :

<02:55:23> "TS3 Support ": !settings AudioFramework::AudioMode=voice <02:55:23> "MusicBot-123": Error: No config key matching the pattern found
Splamy commented 6 years ago

@koznov The master (0.8.1) you are running is still using the old settings system. Replace the = with a (space) to set a value.

This issue is referring to the new settings system. If you update and encounter the same problem look into #305.

koznov commented 6 years ago

@Splamy ok, thanks. I'm trying to set default room for bot but still no success. In config there is this manual for:

# Default Channel when connectiong
# Use a channel path or '/<id>', examples: 'Home/Lobby', '/5', 'Home/Afk \/ Not Here'

and i'm trying to set it via message: image

<05:07:38> "TS3 Support": !settings QueryConnection:efaultChannel '/21516'
<05:07:38> "MusicBot-123": Error: Found more than one matching key: 
  QueryConnection:efaultChannel
  QueryConnection:efaultChannelPassword
koznov commented 6 years ago

And without quotes same situation (only /21516)

Splamy commented 6 years ago
  1. QueryConnection:efaultChannel looks like a typo, it should be QueryConnection:DefaultChannel
  2. Single quotes ' do not work
  3. Nonetheless there is a bug on the master branch, this is the only setting you can't set via command because of that :/

Either set it manually in the config for now, or get the latest develop branch build (careful the develop branch has the completely new settings system. Automatically upgrading the configs only works one way; backup files will be create though)

koznov commented 6 years ago

No typo , because TS client auto replace :D to laughing smile =) Thats why letter D doesnt copied correct to github message form =) Ok, i think there is bug on current master branch. will wait for merging developer branch to master with new config system. Thanks!