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

Can't use command

Hi! i want use my bot on discord. i install last beta sinusbot app.
before on TS3 the stable version work 100% but on discord i can't hear now with beta i can hear on discord but i can't use command.
i download from sinusbot page the command.js and sinusbot-command.js but it doesn't work but i can start playlist and music on webinterface

it is the bot logs

2020-01-03T13:22:47+01:00 [ command:41:14] ILGUERRIERO22 (561555289032097810/254948934676381696) used *next
2020-01-03T13:20:16+01:00 error on callback func: Uncaught exception: TypeError: Cannot read property 'http' of undefined at Lyrics:185:21 sinusbot.http({ ^ Stack trace: TypeError: Cannot read property 'http' of undefined at Object.getJSON (Lyrics:185:22) at Object.getLyric (Lyrics:217:25) at Object.lyrics_message (Lyrics:381:40) at Lyrics:426:27
2020-01-03T13:20:16+01:00 PLAY [admin] eb5ad35a-9f86-43b3-9457-1ed0463e7bae OK
2020-01-03T13:17:24+01:00 [ command:41:14] ILGUERRIERO22 (561555289032097810/254948934676381696) used *stop
2020-01-03T13:16:50+01:00 [ command:41:14] ILGUERRIERO22 (561555289032097810/254948934676381696) used *next
2020-01-03T13:16:46+01:00 error on callback func: Uncaught exception: TypeError: Cannot read property 'http' of undefined at Lyrics:185:21 sinusbot.http({ ^ Stack trace: TypeError: Cannot read property 'http' of undefined at Object.getJSON (Lyrics:185:22) at Object.getLyric (Lyrics:217:25) at Object.lyrics_message (Lyrics:381:40) at Lyrics:426:27
2020-01-03T13:16:46+01:00 PLAY [admin] cdfb237d-1ada-4646-98d4-a0ab178d8a6a OK
2020-01-03T13:16:40+01:00 [ command:41:14] ILGUERRIERO22 (561555289032097810/254948934676381696) used *next
2020-01-03T13:16:14+01:00 error on callback func: Uncaught exception: TypeError: createGroupedArgument(...).setName(...).argument is not a function at sinusbot-commands:119:9 .argument(createArgument("string").whitelist(["up", "down"])) ^ Stack trace: TypeError: createGroupedArgument(...).setName(...).argument is not a function at event.on (sinusbot-commands:119:10)
2020-01-03T13:16:14+01:00 [ command:41:14] command.js may work not as expected!
2020-01-03T13:16:14+01:00 [ command:41:14] WARNING there is already a command with name 'stop' enabled!
2020-01-03T13:16:14+01:00 script Youtube_Search loaded
2020-01-03T13:16:14+01:00 Auto-Starting e68cacec-8dc5-4c7e-b900-6ae7e9bd2c2f/924a245b-204e-475d-8f1c-50f3522f3032 in 1000 ms...
2020-01-03T13:16:14+01:00 Initialization complete
2020-01-03T13:16:14+01:00 script Lyrics loaded
2020-01-03T13:16:14+01:00 script sinusbot-commands loaded
2020-01-03T13:16:14+01:00 script command loaded
 
Top