b3rtNATION
New Member
Hey Guys,
I've written a script that automatically creates rooms if the given ones are full. It works completely fine except that the new created channels doesn't get an icon.
I assign it at creation with the channelParams as number, for example:
p.s. the icon is only hard coded for testing reasons
The icon ID made me a little sus, but I didn't find any other (also tried 1, 100, 200).
Does anyone have encountered that before?
Thanks
rob
I've written a script that automatically creates rooms if the given ones are full. It works completely fine except that the new created channels doesn't get an icon.
I assign it at creation with the channelParams as number, for example:
const channelParams = {name: channelName, parent: parentChannel, maxClients: maxClients, permanent: true, icon: 276905934, };
const newChannel = backend.createChannel(channelParams);
p.s. the icon is only hard coded for testing reasons
The icon ID made me a little sus, but I didn't find any other (also tried 1, 100, 200).
Does anyone have encountered that before?
Thanks
rob