By Jim e
Logs Clash of Clans donations to discord.
- Clone this repository.
- Install node.js
- Run 'npm i' in the cloned directory to install modules.
- Copy 'config.example.json' to 'config.json', and update the information with the steps below.
- Get an API key from Clash of Clans API
- Create a Discord App Bot and note the App bot user token.
- Get the Channel ID for the channel you want the bot to log to. In discord, set enable developer mode, then right click the channel and select copy id.
- Make sure the bot has permission for the channel you set.
- Run 'node index.js'