Skip to content
New issue

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

Connector Error / Could not Load plugin! #266

Open
JustZerooo opened this issue Jan 15, 2024 · 1 comment
Open

Connector Error / Could not Load plugin! #266

JustZerooo opened this issue Jan 15, 2024 · 1 comment

Comments

@JustZerooo
Copy link

[2024-01-15T01:30:40+0100] [Info] Loading plugin: discord-connector.so
[2024-01-15T01:30:40+0100] [Info] >> discord-connector: bot token not specified in environment variable or server config.
[2024-01-15T01:30:40+0100] [Info] Plugin failed to initialize.

We use :

#define DCC_BOT_TOKEN                   "TOKEN"

AND

    "discord": {
        "discord_bot_token": "TOKEN"
    },

Why this error then`?

@midosvt
Copy link

midosvt commented Apr 5, 2024

That's not how it's done. You cannot define your discord bot token outside of server.cfg or config.json. And if you are using omp then load it as a component, not a plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants