I'm going to use multi bots but it doesn't work.
...
$c=1;
while (true) {
$bot = new Soroush\Client( $tokens[$c] );
$messages = $bot->getMessages();
foreach ($messages as $message) {
$data = $message->getData();
...
It stops at $tokens[1] and doesn't go to the next number.
I really need this multi mode bots.
So how can I run it correctly ?
I'm going to use multi bots but it doesn't work.
It stops at $tokens[1] and doesn't go to the next number.
I really need this multi mode bots.
So how can I run it correctly ?