TS3AudioBot icon indicating copy to clipboard operation
TS3AudioBot copied to clipboard

Start Temp. Bot mit Identität

Open Nevercold opened this issue 6 years ago • 4 comments

Hey,

Ich programmiere zurzeit ein Webinterface womit man Bots auf verschiedenden Servern Automatisch nach der Auslastung starten, hier zu nutze ich Temporäre Bots, soweit klappt alles. Das Problem daran ist nur: die Identität ändern sich dadurch immer, das ist nicht so gut. Kann ich einen Temporären Bot mit einer bestimmten Identität starten? Evt bei der Webapi was angeben: /bot/connect/to/{address}/{password}(/Identität/({Identität}) oder so ähnlich. Wäre super!

Mfg

Nevercold avatar Jun 29 '19 14:06 Nevercold

Please keep issues in english. Not everyone here speaks german.

If you create a bot with a name, you can set the identity afterwards with

!set bot set <botname> connect.identity.key <base64 identity>

Of course that identity is only used for new connections, not for already existing ones.

Currently, it is not possible to set the identity in the connect command.

Flakebi avatar Jun 30 '19 12:06 Flakebi

Any specific reason not to just save a bot after connecting with !bot save (name) that way the identity is stored

Splamy avatar Jun 30 '19 16:06 Splamy

Saving the Bot creates the safe-file on the specific host, causing the bot to be "new" if it starts on a new instance according to the load-balancing-system used. There are many ways to go about it, but the most simple one is possibly to just save the bot and always start it on that node. I also went throught that struggle and tried everything from temporary bots to shared network storage for the Bots/ folder but the easiest is to just start, then save and always load the bot from the same Node.

bennetgallein avatar Jul 06 '19 21:07 bennetgallein

As part of some bigger changes, I'm also intagrating json bodies for api requests. Maybe there'll be some opportunities to improve on certain calls by adding additional information in the body then.

Splamy avatar Jul 11 '19 00:07 Splamy