Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • 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 Need a bit of help for developing my script

Status
Not open for further replies.
I am having the problem that im calling getChannelbyID('2125') on a backend but it always return undefined! Thx for the help!

function findUserChannel(client) {
var backend = require('backend');
var i = 0;
var o = 0;
var bool = false;


var channel = backend.getChannelByID('2125');
sinusbot.log(backend.getChannelByID('2125'));
var channelClients = channel.getClients();


}
 
Status
Not open for further replies.
Top