This Discord bot is used to pull stats from WiGLE using WiGLE's API as shown below.
Prior to using the bot the following variables must be changed in the config.json
file:
- Remove the
YOUR-TOKEN-HERE
text and replace it with your Discord Bot Token.- If you do not know how to create a Discord bot, instructions on how to do so can be found here
- Replace
YOUR-ENCODED-FOR-USE-KEY-HERE
with your WiGLE API Key.- Your API key can be found here, select your account page in the lower right, then select "Show My Token".
- The token you are looking for will be listed as the "Encoded for use".
Once the above variables have been updated, run the bot using the following commands:
/user
followed by a username to get user stats. For example,/user kavitate
./userrank
followed by a group name to get user rankings for that group. For example,/userrank #wardriving
./grouprank
to show group rankings./alltime
for all-time user rankings./monthly
for monthly user rankings./help
to show a list of available bot commands.
Further development of this bot is in collaboration with RocketGod.
The idea for this bot was inspired by the WiGLE Bot Repo made by INIT6Source.