Connector Error / Could not Load plugin!
JustZerooo opened this issue · 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`?
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.