• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • Happy New Year everyone! A new version (1.0.0-beta.16) is out for Linux, fixing an issue that could lock the bot up when using it with TS3. Please visit the resources section or the main page (https://www.sinusbot.com) for the new package.

EN How can I write my own script?


New Member
Hey im Danny and im really new to this bot.
My question is how can i write my own script and in what programming language is it?
In wich program should i code it?

ty for your replies ;D
have a great day


Active Member
Well you gotta know few things, first of all sinusbot wrapper, which is main wrapper/function around all of the script which includes web config.
You gotta know few ways to use your script, which most common are on event, like event on connection, chat, also the function can be executed each x amount of time.
Then you gotta know couple sinusbot functions like setDescription(); which will change the description of an user.
You have to know abit of javascript usage of loops, like forEach or for loop.
I suggest you to use engine.log() function to see your results in console, also read the documentation and if you dont know how to do something simply take a look into other script that resolves similiar problem.


The simpliest script which would change description of every client that just connected:


  • descriptionChanger.js
    837 bytes · Views: 28
Last edited: