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

EN I need help

Mrkiklick

Member
Hi!
I try to make a script but there is an error: Error in script (event serverGroupAdded): TypeError: 'setChannelGroups' is not a function at script.js:48:6

line 48:
targetChannel.setChannelGroup(ev.client, channelGroupId);

where:
targetChannel = currentConfig.channel; (a normal channel)
channelGroupId = backend.getChannelGroupByID(currentConfig.channelGroup);

Can you help me please?

Mrkiklick
 
Top