Ts3audiobot: How to save configuration on APi

Created on 13 Aug 2018  路  8Comments  路  Source: Splamy/TS3AudioBot

Eg. when changing the name
http://127.0.0.1:8180/api/bot/use/0/(/bot/name/"rename%20bot")
save?

question

All 8 comments

You mean, like save in the config file?

Yes.

use /bot/use/0/(/settings/set/connect.name/"rename%20bot"

!bot use 0 (!settings set connect.name "NewName"
receives
Error: Failed to set the value (Could not read value: Error parsing NaN value. Path '', line 1, position 1.).

See here: #305 on how to do it in the chat until it's fixed

BTW - In api the same problem:
{"ErrorCode":10,"ErrorName":"CommandError","ErrorMessage":"Failed to set the value (Could not read value: Unexpected character encountered while parsing value: r. Path '', line 0, position 0.)."}

But what you send is what works (#305)

Hmm try escaping the qotation marks

The settings should now be fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lgund picture lgund  路  3Comments

Bluscream picture Bluscream  路  6Comments

iiAlphaWolf01 picture iiAlphaWolf01  路  4Comments

dalexhd picture dalexhd  路  5Comments

Thomseeen picture Thomseeen  路  5Comments