A Discord Bot that fetch data to (unofficial) Royale API.
You need to edit conf.json
file and fill different fields:
token
from Discord APIapiKey
from Royale APIclanTag
from Clash Royale game
-
$ git clone https://github.com/TorzuoliH/clash-royale-discord-bot.git
-
$ npm install
-
$ npm start
!help
display help!hello
say hello to user!clan <ID>
display informations of clan (ID is facultative)!player <ID>
display informations about player ID!top
display top 5 players of clan!top <number>
display top number players of clan (from 1 to 25)!donations
display top 5 donors of clan!chest <ID>
display next coming chest for player ID
Don't hesitate to fill this part by making a pull request!
Many thanks to:
- Royale API for Clash Royale API
- Martin Carrera for his Clash Royale API
- Discord for Discord