We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 ?
The text was updated successfully, but these errors were encountered:
:-D $c=$c+1
Sorry, something went wrong.
because c variable is 1 forever? (at least in above code!) and also you must check c be less-equal than tokens max index try this:
$c=0 while ($c<count($tokens)) { $c=$c+1 // whatever
But notice I don't know any thing about php language. I'm a C# and python programmer.
Thank you But the solution is not like that in this framework However I didn't look for the solution anymore
No branches or pull requests
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 ?
The text was updated successfully, but these errors were encountered: