Skip to content

How to use multi bots ? #15

@sallsabil

Description

@sallsabil

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions