Skip to content

new Midjourney(DISCORD_TOKEN) fails #27

@madc0w

Description

@madc0w

According to docs:
new Midjourney(SALAI_TOKEN) directly provide SALAI_TOKEN

in this case a 72 char long SALAI_TOKEN token should be pass to the Midjourney constructor like: new Midjourney(SALAI_TOKEN)

https://www.npmjs.com/package/midjourney-discord-api#new-midjourneysalai_token-directly-provide-salai_token

Since this constructor is indistinguishable from the one that take a filename (also a string), the result is predictable:

NotFound [Error]: ENOENT: no such file or directory, open '<SALAI_TOKEN>'

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