-
-
Notifications
You must be signed in to change notification settings - Fork 152
Changelog
Splamy edited this page Apr 12, 2020
·
10 revisions
A list of notable (breaking) changes.
-
!bot info clientnow returns aClientobject instead ofClientInfo
Check the openapi doc if you need to adjust your json fields
- The
TS3Clientfolder and namespace has been moved toTSLib. This should affect plugins which reference the ts client library directly.
-
!songjson response fields are now capitalized to be more consistent with the rest -
!queuehas been removed. All information of it were covered in!info -
select <num>has been removed. Check out the faq for an up to date example
The new replacing commands are:!search play <num>!search add <num>
-
!list get <url>has been moved to ->!list import <listId> <url> -
!list load/savehave been removed. All lists are now persistent and have to be specified with the<listId> - All
!list *commands take a as the first parameter to specify which playlist to interact with.
The volume value is now scaled logarithmically to better reflect the 'perceived' volume. It's recommended to update the following config values for reasonable default and reset volumes.
[bot.audio]
# values 70-100 are reasonable. 100 as the max value effectively disables this feature.
max_user_volume = 80.0
# 50 Is the middle, making it an good default volume with the new scaling.
# Volume 50 in the new scale is equal to 10 in the old scale.
volume = { default = 50.0, min = 25.0, max = 75.0 }-
! Updated required frameworks
- net46 -> net472
- dotnet core 2.0 -> dotnet core 2.2
This means you will need at least
mono 5.18ordotnet core 2.2to run.
Building manually will now build to./Release/net472and./Release/netcoreapp2.2instead of./Release/net46and./Release/netcoreapp2.0respectively. -
The
rights.tomlhasip == localhostas a default matcher for admin privileges. This should prevent a lot of hassle when just trying to access it locally.
If your server is behind a proxy, either make sure to make it transparent, or useX-Real-IPheader, or remove this matcher.
- Merged
!song positioninto!song. - Added a
.pausedfield in the!songresponse
- Reworked playlist and queue
- Added
!infofor a small current playlist and queue summary - Added
!queueto show the current queue
- Added
!settings copyto clone bot templates
- Added
!settings createand!settings deleteto create and delete bot templates
- Moved
!quitto!system quit
-
!bot infonow has aStatusfield when called via api - The
"botname" = { run = true/false }fumbeling has been removed from thets3audiobot.tomlfile. Instead each bot config now hasrun = true/falsefield in the root section.
- The command
!linkwas removed since!songalready shows the song title and adds the link as a hyperref to it.
To compensate this in the api the!songcommand now returns an object of{ title:"...", source:"..."} - ! Don't forget to remove "cmd.link" from your rights file to prevent warnings in the log about it.
- Changed
!bot avatarto!bot avatar set <link>and!bot avatar delete
- The command
!loop <on|off>was removed and instead merged functionality into -
!repeat (off|one|all)(this also means!repeat (on|off)also doesn't work anymore) - ! Don't forget to remove "cmd.loop" from your rights file to prevent warnings in the log about it.