Hey there,
I was just messing around and trying out some scripting on a test server (one of the free 10 slots ones of the TS beta).
Firstly I recognized the bot would not join any other channel besides the server's default one. The dropdown in the instance settings showed correct channel names, just selecting and saving didn't make the bot join the selected channel. But it stored that value (the channel name) nevertheless.
So I did not bother further.
Running my script later got me some undefined errors due to the backend not giving back a channel object.
Those was wierd, since on my other server the exact code runs fine:
So rechecking the values, I ended up with the following values stored the webinteface:
Determining the "real" channel IDs via
So as you can see, they are almost the right ones. Just not exact on 18 digits, more rounded on 16 digits.
Is that just something that happens on those new servers due to increasing the length of those IDs and SinusBot not processing them properly, or has anyone encountered something similar so far?
I was just messing around and trying out some scripting on a test server (one of the free 10 slots ones of the TS beta).
Firstly I recognized the bot would not join any other channel besides the server's default one. The dropdown in the instance settings showed correct channel names, just selecting and saving didn't make the bot join the selected channel. But it stored that value (the channel name) nevertheless.
So I did not bother further.
Running my script later got me some undefined errors due to the backend not giving back a channel object.
Those was wierd, since on my other server the exact code runs fine:
JavaScript:
ChannelID = config.conf[i].OutputChannel;
backend.getChannelByID(ChannelId);
So rechecking the values, I ended up with the following values stored the webinteface:
#Example channel 1
config.conf[0].OutputChannel
was set to 544625690941816800
#Example channel 2
config.conf[1].OutputChannel
was set to 544625772053823500
Determining the "real" channel IDs via
backend.getChannels()
left me with these IDs:#Example channel 1
544625690941816835
#Example channel 2
544625772053823490
So as you can see, they are almost the right ones. Just not exact on 18 digits, more rounded on 16 digits.
Is that just something that happens on those new servers due to increasing the length of those IDs and SinusBot not processing them properly, or has anyone encountered something similar so far?