aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo/ksutils-teamspeak-autochannel/PKGBUILD4
-rw-r--r--repo/ksutils-teamspeak-autochannel/default.toml16
2 files changed, 16 insertions, 4 deletions
diff --git a/repo/ksutils-teamspeak-autochannel/PKGBUILD b/repo/ksutils-teamspeak-autochannel/PKGBUILD
index b3d9b43..24df349 100644
--- a/repo/ksutils-teamspeak-autochannel/PKGBUILD
+++ b/repo/ksutils-teamspeak-autochannel/PKGBUILD
@@ -3,7 +3,7 @@
_original_name=teamspeak-autochannel
_basename=teamspeak-autochannel
pkgname=ksutils-$_basename
-pkgver=2.1.1
+pkgver=2.2.0
pkgrel=1
pkgdesc='TeamSpeak auto channel rust implement'
arch=('any')
@@ -17,7 +17,7 @@ license=('AGPL3')
sha512sums=(
'SKIP'
'fea25058b0fcee166d953cbf74da8f06965634ee1276b6896d1c3d728df5fb94d0a9324849c90c9bb3c69863d8693c6fa2998d01d42eb0f886bc98ec65054a42'
- 'bde6a26a4060525cadcc34245f2ebb4a86f0bbda4527d15e4f30f012975e48a468f47fc2cf9b1d237b12459cbec631908fcb9577fd9c3e91fb0546ad08f4c0b4'
+ '8b068b83fa0a996ccf461d0a8bab539b62dfc4fbfd8c0e9090f9dab8c5d44624780051f7c820cd566e306ec1a3322428f28f28c57779e657308495c0e397871f'
)
makedepends=('cargo' 'git')
depends=('redis')
diff --git a/repo/ksutils-teamspeak-autochannel/default.toml b/repo/ksutils-teamspeak-autochannel/default.toml
index 0c5d6a3..346d199 100644
--- a/repo/ksutils-teamspeak-autochannel/default.toml
+++ b/repo/ksutils-teamspeak-autochannel/default.toml
@@ -1,19 +1,31 @@
[server]
# server_id = 1
-channel_id = 1
+channel_id = [1, 2]
privilege_group_id = 5
# redis_server = ""
+# [[permissions]]
+# channel_id = 1
+# it means set i_channel_needed_permission_modify_power to 75 and i_channel_needed_delete_power to 60
+# See: https://gist.github.com/EdisonJwa/630383a12281f3db2186a14e1d0fa901 for more key information
+# map = [[86, 75], [133, 60]]
+
[misc]
# interval = 5
-# This section priority is higher than web_query
+# [custom_message]
+# channel_not_found = "I can't find you channel."
+# create_channel = "Your Channel has been created!"
+# move_to_channel = "You have been moved into your channel."
+
# [raw_query]
+# This section priority is higher than web_query
# server = ""
# port = 10011
# user = "serveradmin"
# password = "114514"
[web_query]
+# This method may significantly increase CPU usage.
server = "https://localhost:10080"
api_key = "BAA114514" \ No newline at end of file