you dont need to do anything special, take a look at existing sinusbot scripts and how they are built
you can even use the default windows editor to create scripts, then just place them in the scripts folder of sinusbot, restart your sinusbot and see if your script runs
2020-08-01T12:16:52+02:00 no valid script found in script.js
2020-08-01T12:16:52+02:00 error in script: Uncaught exception: SyntaxError: Invalid or unexpected token at script.js:5:28 author: 'Spigod'<[email protected]>, ^ Stack trace: SyntaxError: Invalid or unexpected token
Some basic knowledge should already be there. Because you will run into more problems!
Asking all these will only bring you forward very slowly and is no fun, in my opinion.
Better use the time and try to find out yourself by watching tutorials. If everything does not help, you can still ask.