• 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.

why the say via api www

You should probably post the error you're recieving then...

What API are you using?
Most free ones have some sort of spam protection, which makes you able to only play few sentences until you get IP blocked for a while.

If you're not willing to pay for an online service, you can have a look here, works as a charm.
 
my server ts3 and hosting www , sinusbot 1.0.0-alpha.7-06a54d7
TTS-Url : http://translate.google.com/transla...&textlen=32&client=tw-ob&q=__TEXT&tl=__LOCALE
Locale : pl
PHP:
<?php
include_once(__DIR__ . "/src/autoload.php");
$sinusbot = new SinusBot\API("http://ts3.plsi.pl:8088");
$sinusbot->login("admin", "password");
$instances = $sinusbot->getInstances();
...
...
...
$instance = $sinusbot->say("test", "pl" ); //not work <--
?>

and written in ts3 !say something works
 
Sorry is all ok
Code:
$instances = $sinusbot->getInstances();

$instance = $instances[0];

$instance->say("test skryptu loc", "pl");
Perfekt :) work :)
 
Back
Top Bottom