samp-discord-connector icon indicating copy to clipboard operation
samp-discord-connector copied to clipboard

Connector Error / Could not Load plugin!

Open JustZerooo opened this issue 1 year ago • 1 comments

[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`?

JustZerooo avatar Jan 15 '24 00:01 JustZerooo

managed to solve? I have the same problem.

kauantltrindade avatar Mar 13 '24 13:03 kauantltrindade

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.

midosvt avatar Apr 05 '24 01:04 midosvt