Refactor ts-control with bashly

This commit is contained in:
Tobias Reisinger 2025-07-08 13:05:36 +02:00
parent 93ebbbd5d2
commit 7694bf365c
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
21 changed files with 217 additions and 175 deletions

View file

@ -0,0 +1,4 @@
target=$(_ts_control_get_entity "channel" "$1")
current_channel=$(teamspeak-query-lib info | grep "Channel: " | sed 's/Channel: //')
_ts_control_move_self "$target"
teamspeak-query-lib fetch "--strict-channel" "--channel" "$current_channel"