• 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.
OKlib

OKlib 1.0.8

No permission to download
Forgot to increase the version string in the last update... NOT THIS TIME.

This is now the 1.0.8 and also reports as 1.0.8... hopefully.
This update only fixes a wrong return value in one of the array functions. This means the client.isMemberOfAll() function should work correctly again. Thanks to @Relentless for reporting this bug.
  • Like
Reactions: Relentless
Added:
  • helper.generatePassword Added the generate Password function to the lib which creates a random password
  • Like
Reactions: heryon and rejzer
Changed:
  • channel.getSubchannels changed the parentChannel handling. It can handle now a channelobject aswell as a channelID
Removed:
  • client.filterByClients the function got removed since it got obsolete and also had one little typo-bug
Added:
  • helper.isInt New function that will test a number if it is a int
  • string.matchUID Checks if a string is a valid UID (only syntax check)
Fixed:
  • client.search Fixed a derpy singel client return when only one client was found. Will now give back a array regardless of the search results (Empty array if nothing was found)
  • removed some double logging
  • fixed a falsely used global var
New function:
  • client.urlToClient Parses a TS3-Client URL into a Client Object
  • array.filterByAttribute Filters the elements from given Array for its Attributes value
Added:
  • channel.getSubchannels added an optional channel array as last parameter. If not provided the function will use all channels
Fixes:
  • general.getBots Returns now only Unique clients (even if bots are double connected with the same UID)
  • Like
Reactions: AiR-Angelo
Top