sync667 / UseTS-AdminBOT

Script in ECMAScript 5 (JavaScript) to use with www.sinusbot.com
9 stars 2 forks source link

[Function: Support Members - GroupsIDs] does not parse multiple group IDs #7

Closed pix0wl closed 8 years ago

pix0wl commented 8 years ago

Hi,

I've added my admin and moderator groups, but only the first group (6) will be identified and used.

Support Members - GroupsID (comma separated) 6,11,18 Group ignored on support channels - GroupsID (comma separated) 6,11,18

sync667 commented 8 years ago

You done restart after settings change and wait about 30 seconds to minute? At it still don't resolve groups right? Please check it.

Check too if you don't get any errors in instance logs so parsing would be break.

pix0wl commented 8 years ago

Yes, I've had restarted the bot. Also it was my first setup, I've didn't change the values afterwards.

Edit: I was a little too quick... It is is working. The clients who are online at the moment the function is activated are just not counted, they have to rejoin the server. Sorry, I will next time check more carefully.

sync667 commented 8 years ago

Can you send me your full configuration?

pix0wl commented 8 years ago

config.ini: ` TS3Path = "/home/*_/TeamSpeak3-Client-linux_amd64/ts3client_linuxamd64" ListenHost = "0.0.0.0" DataDir = "/home/****/data/" ListenPort = 8087 LocalPlayback = false EnableLocalFS = false MaxBulkOperations = 300 LogLevel = 3 EnableProfiler = false YoutubeDLPath = "/usr/local/bin/youtube-dl" EnableDebugConsole = false UploadLimit = 83886080 RunAsUser = 0 RunAsGroup = 0 InstanceActionLimit = 6 UseSSL = false SSLKeyFile = "" SSLCertFile = "" Hostname = "" SampleInterval = 140 StartVNC = false EnableWebStream = false LogFile = "" LicenseKey = "*******" DisableLocalXServer = false DebugLocalXServer = false IsProxied = false DenyStreamURLs = [] Pragma = 0

[YoutubeDL] BufferSize = 524288 MaxDownloadSize = 419430400 MaxDownloadRate = 104857600 CacheStreamed = false

[TS3] AvatarMaxWidth = 0 AvatarMaxHeight = 0

[StreamRewrites]

[Scripts] AllowReload = true EnableTimer = true

[SpeechRecognition] Enable = false

[FFmpeg] UserAgent = "SinusBot (0.9.11-ee30ef7)"

[DAV] Enable = false ` script config: http://i.imgur.com/AQhc8OO.png

sync667 commented 8 years ago

Yea that's right clients must not rejoin, but just move on channels to be counted after restart or settings change.