From a7816dcbcb2393afb46b989956961fa655bbbd4f Mon Sep 17 00:00:00 2001 From: NotUnlikeTheWaves <15870306+NotUnlikeTheWaves@users.noreply.github.com> Date: Mon, 2 Nov 2020 15:57:37 +0100 Subject: [PATCH] Mention using envvar for bot token in readme It's a valid means of using the connector but not mentioned in the readme so far --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d481738..a850ce8 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ How to install 2. Edit the server configuration (*server.cfg*) as follows: - Windows: `plugins discord-connector` - Linux: `plugins discord-connector.so` -3. Add `discord_bot_token YOURDISCORDBOTTOKEN` to your *server.cfg* file (__never share your bot token with anyone!__) +3. Add `discord_bot_token YOURDISCORDBOTTOKEN` to your *server.cfg* file, or set it in the environment variable `SAMP_DISCORD_BOT_TOKEN` (__never share your bot token with anyone!__) Build instruction ---------------