Skip to content

AzerFrostt/Wizard

Repository files navigation

WizardBot

Utility bot created for Clash of Clans to support stat tracking with in the discord server.

Deployment

Directions on creating an app and getting credentials may be found here.

Invite your bot to your server, make sure you select the bot and applications.commands options while creating the invite.

Get your Clash of Clans API Token from here.

Setting up

  1. Clone this repository

  2. Make a copy of .env.copy and rename it to .env. Fill in your Discord Token, your Mongo_URI and your Clash Token. Make sure you include Bearer before your clash token like "Bearer eyJ0eXAiOiJKV..."

  3. Make a copy of the config.json.copy file and rename it to config.json. Then go to the config.json file and change all the ids to ids in your server.

Installation

Install all the dependencies using

npm install

Register slash commands to a single guild by running

node deploy-commands.js

You only need to run node deploy-commands.js once. You should only run it again if you add or edit existing commands

Finally start the application using

node index

and hopefully everything works right :)

License

ISC

Authors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors