Skip to content

isaacli430/cr-selfstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clash Royale SelfStats

A selfbot dedicated to getting your CR stats!

Installation

Getting your token

  1. Go into Discord and Inspect Element.

  1. Go into the top bar, click the arrow, and click Application.

  1. Click on the arrow next to Local Storage, and click https://discordapp.com.

  1. Double click on the text box next to your token, and copy that text (This is your token).

Local Installation

  1. Make sure you have Git and Python 3.6 installed on your computer. If it's your first time installing Python 3.6, go into the Python 3.6 folder, and run Install Certificates.command.
  2. Go into your Terminal/CMD and type in the following:
git clone http://github.com/kwugfighter/cr-selfstats
  1. When that's done running, type in these commands:
cd cr-selfstats
python3 -m pip install -r requirements.txt
python3 bot.py
  1. Follow the instructions from then on.

Heroku

  1. Create a Github account if you haven't already.
  2. Create a Heroku account if you haven't already.
  3. Fork the repository.

  1. Create an app in Heroku.

  1. Go into Deploy, and click Github. Then, login to Github by pressing Connect to Github.

  1. Type in cr-selfstats in the search bar, and click Connect on the first result.

  1. Click on Enable Automatic Deploys and Deploy Branch. Wait for it to finish running.

  1. Go into Settings, press Reveal Config Vars, and enter in the info as shown here (With your info of course).

  1. Go into Resources, click on the pen icon, click on the switch, and press Confirm.

  1. Now wait around a minute for the bot to boot up.

Updating the Bot

Locally

  1. Delete the local folder that has the bot file.
  2. Do what you needed to do to install the bot locally.

Heroku

  1. Delete the local folder that has the bot file (If needed).
  2. Go into your Terminal/CMD and type in the following:
git clone http://github.com/kwugfighter/cr-selfstats
  1. When that's done running, type in the following commands (Replace your-github-username with your Github username). If this is your first time running Git on your computer, then it might ask you for your login info.
cd cr-selfstats
git remote add fork http://github.com/your-github-username/cr-selfstats
git push fork master
  1. Wait around a minute for the bot to boot up.

Suggestions

If you have any suggestions, create an issue so I can add it.

Acknowledgements

@Selfish and @SML for creating cr-api

About

Selfbot for CR Stats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages