• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Search results

  1. SlamaFR

    EN Need help with replace()

    Well, actually the code works and log me the ID of each group. In my config, I have a string field in my config which basically get the groups corresponding to staff, e.g. "23,24,35". And I just want to check all the groups of all the clients to determine which clients must be notified.
  2. SlamaFR

    EN Need help with replace()

    Nop, it's ID
  3. SlamaFR

    EN Need help with replace()

    I tried this but doesn't work :/ function notifyStaff(client, channel) { backend.getClients().forEach(function (c) { c.getServerGroups().forEach(function (g) { engine.log(g.ID()); if (staff.indexOf(g.ID()) > 0) {...
  4. SlamaFR

    EN Need help with replace()

    YEP ! That was the problem.. Do you know a method to send a message to all users that are in a servergroup ? I mean, you give "45,23,64,etc' in the config and the bot send a message to all users in these servergroup..
  5. SlamaFR

    EN Need help with replace()

    @flyth > I'm gonna try.. :) @Multivitamin > Yes i'm sure because I log it to check...
  6. SlamaFR

    EN Need help with replace()

    I'm sure, because if i delete the second replace : no more error :P
  7. SlamaFR

    EN Need help with replace()

    Hi ! I'm currently developping a support script and I need to replace some string like "%p" or "%n", but I can't simply do : client.chat(config.messageToUser.replace('%p', config.prefix).replace('%n', client.nick)); It tells me : Error in script: RangeError: expected 0 argument(s); got 3 Any...
  8. SlamaFR

    TS3Client don't start

    Problem fixed ! Switched to Debian 8 ;)
  9. SlamaFR

    TS3Client don't start

    Hi ! So, I've reinstalled sinusbot on my VPS. The web interface works perfectly but the TS3Client won't start anymore. Here's the needed infos: I use the latest version. I'm on Debian 7. It's a VPS, Core i7, 1Gb RAM. DiagScript: ==========================================================...
Top