The Synergy's official Discord bot.
- Create application in Discord
- Add bot to application in Discord
- Invite bot in test channel
- Get bot token
- Add config file to project
- Run
npm run build && node dist/index.js
to run the bot on the local wokstation in production mode.
More information on discord bot
The configuration can be stored in multiple way, in order of priority:
- A JSON string in an environment variable named
SNRG_CONFIG
- In a file
synergy.config.json
.
{
"commandPrefix": "!",
"discordBotToken": "<discord-bot-token>"
}