• We would like to invite you to check out the latest 1.0 alpha versions. You can read more about what's new here. Please note, that this is still an early release and will contain new bugs ¯\_(ツ)_/¯
  • If you need help or want to discuss things, you now can also join us on our Discord Server!

[Bug Report] Client type function is giving wrong result

Relentless

Donor
is awesome!
is uber awesome!
Contributor
SinusBot version: 1.0.0-alpha.5-9767656
TS-Client: 3.2.3
TS-Server: 3.6.1

https://sinusbot.github.io/scripting-docs/#clienttype
Documentation says that 0 = Query and 1 = Normal.
However, if checking a normal user, it gives back 0. I wasn't able to check if it returns a 1 when a query is checked
since the sinusbot is not subscribing to the queries and therefor not seeing them. I could mange to do that if the
query writes a message to the sinusbot which triggers an event but I have no query which could handle that.
So either there is a mistake in the documentation and the numbers have to be swapped or the function is broken.
That depends on the return value of the function when an actual query is checked. Would need somebody to test.

Greetz,
Relentless
 

Similar threads

Top