ClashStats

ClashStats

49 Servers

Add this bot
Bot Info
  • Prefix: coc
  • Servers: 49
  • Category: Gaming
  • Accepts Donations?: Yes
  • Last Bumped: 3 weeks ago

ClashStats Discord Bot

This bot is used to fetch in-game player data by using the official Clash of Clans API (https://developer.clashofclans.com/#/documentation). ClashStats is still under testing and some features have yet to be implemented. Suggestions are encouraged! Verified by both disforge.com & Top.gg, two top Discord bot marketplaces.

Commands
Currently, eight commands are able to be used.

coc verify
When ran, the bot will DM the user and prompt their in-game player tag and API token (also found in-game). This command allows the user's data to be saved to the database, and therefore, the user will be able to run other commands. The experience with this bot is much better when the user has verified.

coc stats
When ran without verification, the bot requires a player tag argument to be entered after the command.
Ex: coc stats #GY2GJLCP
When ran, and the user has already been verified, no additional arguments are required.

coc clan
This command requires user verification before use. If the user does not have a default clan saved, the user will need to input a clan tag:
Ex: coc clan #2PGJUGPR
At this point, the bot will prompt if the user would like to save the inputted clan tag as their default clan. If so, the next instance of coc clan will not need a clan tag; instead, it will fetch the clan data from the saved clan tag.
Ex: coc clan

coc graph
This command requires user verification before use. The user's saved trophy data will be plotted (via matplotlib) on a line graph. New data can only be saved once daily, but the graph can be seen as many times as prompted.

coc hero
This command fetches the hero levels of each hero the player has. In the future, this should include how far the player is from maxing out their heroes for their Town Hall level. Requires verification.

coc zap
Tells the player how many lightning spells are required to destroy an air defense.
This command requires two parameters: the air defense level and your lightning spell level.
Ex: coc zap [air defense level] [lightning spell level]


coc zapquake
Tells the player how many lightning spells and earthquake spells are required to destroy an air defense.
This command requires three parameters: the air defense level and a lightning spell level, and an earthquake spell level.
Ex: coc zapquake [air defense level] [lightning spell level] [earthquake spell level]

coc help
Sends the command list!

Want to support?
Buy me a coffee @ https://www.buymeacoffee.com/danmaruchi