Skip to content

AvyuktBallari/nba-stats-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

nba-stats-discord-bot


This project is a discord bot which allows you to find the stats of NBA Players using the BallDontLie API

  • This project is completley open source and you can view the code in nba_cooker.py
  • This project was also compiled in pyinstaller so that you can easily download and use it

Instructions:

  1. First download the nba_cooker.exe
  2. Go to your Discord Developer Console and make a bot and save the token
  3. Go to https://discordapi.com/permissions.html and give the bot permissions and invite it to the desired server
  4. Run nba_cooker.exe and enter in the bot token
  5. Enjoy!
  6. If their are any errors please let me know!

Usage Here is how you can actually use this bot: Note: Their are some limitations to this api which makes that we can't pull extremely accurate information, but it is close enough. If your discord embed also shows None for any of the values it is soley because of something wrong with the API and not the code .stats playername playername can be the players last name or first name. Sometimes if you just enter in either you won't get a response back because their can be mutliple people with the same first name so be sure to include the first name and last name

@nbacooker

About

uses balldontlie API to fetch details on NBA Stars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages