Closed ChronoBrake closed 2 years ago
I mean new per bot config looks like:
[commands]
[commands.alias]
...
Alias be copied, but blank. Why?
The master-derive relation between the ts3audiobot.toml and bot.toml config files does not copy the values from the ts3audiobot .toml when creating. Instead the ts3audiobot.toml values will be taken when a value in a bot.toml file doesn't exist. This makes default values effectively independent from when single bot configs have been created and you can always change them, and the change will be applied globally.
Unfortunetaly for the alias table currently this 'derive' technic isn't implemented so the ts3audiobot.toml values will simply be ignored. The reason is that this isn't that easy to implement. Changing a global alias will need to reload all currently active bots. I'll keep this issue labeld as an enhancemend open and see what I can do.
@Splamy in dev version when I add aliases in one of the bot.toml config only this bot which has aliases see this aliases but when I repeat this in master version all bots see aliases. Why?
This was more or less a side effect of how the command tree worked internally. See https://github.com/Splamy/TS3AudioBot/issues/672#issuecomment-550354370 / https://github.com/Splamy/TS3AudioBot/issues/670#issuecomment-550360657 for why we changed that.
it is known when it will be corrected @Splamy
As always then when I get to. You can upvote the first post then it will bubble up when sorting by '👍 '
anything known finally?
I have 3 exams and a project submissision by the end of the month, so I'm sorry but there won't be much progess until then.
I’m happy to announce that the develop
branch gained support for global aliases.
The way they work is that when a bot is started, the global list of aliases is applied to the bot. Adding a global alias will only apply to newly started bots, already running bots will not be updated (this would be very complicated to implement and this is the reason why global aliases were not implemented so far).
Hey Sir. I have a problem with new created bots.
This is my fragment ts3audiobot.toml:
Bots created by command "!settings create name" and run by "!bot connect template name". New bot have good global name "TEST" and server address "EXAMPLE" in new bot config, but global commands alias seems like not be copied to new bots. Why? Whats wrong? Regards.