Skip to content

A Discord bot that can retrieve player data from ClashRoyal's API

Notifications You must be signed in to change notification settings

PlotoZypresse/cr_discord_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cr_discord_bot

The bot can be used by downloading the code and adding your own Clash Royale API key and creating your own Discord Bot and adding the API token from Clash Royale API and Discord to an .env file and naming them CLASH_API_KEY and DISCORD_API_KEY.

Right now the bot had following commands: !PlayerInfo "player tag" !ClanInfo "clan tag"

This returns the player tag and the player name right now. But will in future return more data about the player. Also a command for clan info that returns clan tag and and name is implemented.

screenshot

The bot gets its data from the Clash Royale api. The fetching of the data for players is done in the playerInfo.py file. For clan info the same happens in the clanInfo.py file.

About

A Discord bot that can retrieve player data from ClashRoyal's API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages