SA:MP plugin which controls a Discord bot
AppVeyor CI | Total downloads | Latest release |
---|---|---|
|
This plugin allows you to control a Discord bot from within your PAWN script.
"discord": {
"bot_token": "MYBOTTOKEN"
}
Alternatively you can use the enviromental variable DCC_BOT_TOKEN to set the token instead. DO NOT SHARE YOUR TOKEN WITH ANYONE
plugins discord-connector
plugins discord-connector.so
discord_bot_token YOURDISCORDBOTTOKEN
to your server.cfg file, or set it in the environment variable DCC_BOT_TOKEN
(never share your bot token with anyone!)If you're getting an intent error, you need to go to the discord developer dashboard and select your bot. Then, you need to go to your bot settings and activate your intents.
Note: The plugin has to be a 32-bit library; that means all required libraries have to be compiled in 32-bit and the compiler has to support 32-bit.
git clone --recursive https://...
)build
and execute CMake in there