Skip to content
This repository was archived by the owner on Oct 1, 2023. It is now read-only.
This repository was archived by the owner on Oct 1, 2023. It is now read-only.

Multi-account cookie and .env configuration issues #10

@boygoboy

Description

@boygoboy

image

Hello author,
I ran your code and found the following code:

    const {BotNickNameEnum, PoeClient, sleep} = await import("poe-node-api")
    const client = new PoeClient({
        debug: true,
        cookie
    })
    await client.init()

Relevant configurations will be written into the .env configuration file, but if I have multiple account requirements, that is, if there are multiple cookies, it seems conflicting to put these configurations in .env. Can it be based on this requirement? Under optimization, these configurations are directly returned to the user for storage by executing await client.init(), and these variables are passed in when the next message is sent or initialized, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions