nerzlakai96
Member
Hello,
i am experiencing a very weird bug which i tried to fix after several days of testing, but can't fix it.
I assume this is a bug in the 'clientMove' Event for Discord.
I wrote a script which greets everyone with a configured ClientID in the Sinusbot-Config and plays a sound file (with track://...) upon join.
The first tries were successful, but we found out it didn't work on every client that connected and it didn't really work well in the end.
I integrated an engine.log("MESSAGE") to find the problem, i realised the message usually never appears upon join, so the event 'clientMove' doesn't even get called.
Instead this Instance Log in the Web Panel appears to that time:
"state instable for discord connection"
If this user writes something in chat afterwards, the command.js Script logs the following:
"[ command:41:14] could not get author with ID=324290563832676373; replacing client with workaround"
My Sinusbot-Infos:
Version: 1.0.0-beta.14-dc94a7c
OS: Debian 11
Script is attached to this post
Any help appreciated! Thanks in advance.
Kind regards,
nerzlakai96
i am experiencing a very weird bug which i tried to fix after several days of testing, but can't fix it.
I assume this is a bug in the 'clientMove' Event for Discord.
I wrote a script which greets everyone with a configured ClientID in the Sinusbot-Config and plays a sound file (with track://...) upon join.
The first tries were successful, but we found out it didn't work on every client that connected and it didn't really work well in the end.
I integrated an engine.log("MESSAGE") to find the problem, i realised the message usually never appears upon join, so the event 'clientMove' doesn't even get called.
Instead this Instance Log in the Web Panel appears to that time:
"state instable for discord connection"
If this user writes something in chat afterwards, the command.js Script logs the following:
"[ command:41:14] could not get author with ID=324290563832676373; replacing client with workaround"
My Sinusbot-Infos:
Version: 1.0.0-beta.14-dc94a7c
OS: Debian 11
Script is attached to this post
Any help appreciated! Thanks in advance.
Kind regards,
nerzlakai96