-
-
Notifications
You must be signed in to change notification settings - Fork 140
Changelog
Splamy edited this page Apr 12, 2020
·
10 revisions
A list of notable (breaking) changes.
-
!bot info client
now returns aClient
object instead ofClientInfo
Check the openapi doc if you need to adjust your json fields
- The
TS3Client
folder and namespace has been moved toTSLib
. This should affect plugins which reference the ts client library directly.
-
!song
json response fields are now capitalized to be more consistent with the rest -
!queue
has 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/save
have 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.18
ordotnet core 2.2
to run.
Building manually will now build to./Release/net472
and./Release/netcoreapp2.2
instead of./Release/net46
and./Release/netcoreapp2.0
respectively. -
The
rights.toml
hasip == localhost
as 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-IP
header, or remove this matcher.
- Merged
!song position
into!song
. - Added a
.paused
field in the!song
response
- Reworked playlist and queue
- Added
!info
for a small current playlist and queue summary - Added
!queue
to show the current queue
- Added
!settings copy
to clone bot templates
- Added
!settings create
and!settings delete
to create and delete bot templates
- Moved
!quit
to!system quit
-
!bot info
now has aStatus
field when called via api - The
"botname" = { run = true/false }
fumbeling has been removed from thets3audiobot.toml
file. Instead each bot config now hasrun = true/false
field in the root section.
- The command
!link
was removed since!song
already shows the song title and adds the link as a hyperref to it.
To compensate this in the api the!song
command 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 avatar
to!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.