[go: nahoru, domu]

Skip to content

FBBot is a Discord bot built to retrieve and generate data related to ESPN H2H Scoring Fantasy Basketball Leagues such as scores, advanced stats, and information about fantasy teams and NBA players within the fantasy league

Notifications You must be signed in to change notification settings

coolbrett/espn-fantasy-basketball-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESPN Fantasy Basketball Discord Bot

Developer: Brett Dale

DESCRIPTION

This Discord bot is built with the pycord library and an espn-api specifically for ESPN fantasy sports

The goal is to build this bot so that it can handle all Discord servers that it is invited to with a single instance of itself

I want the bot to be able to display most things that you can find in the app as well as give insights through advanced statistics

PROCESS

  1. Make the bot as feature-rich with stats and helpful commands as possible for your own league
  2. Deploy this bot somewhere and set up automated deployments
  3. Focus on how to make this a SAAS

TO-DO

  • Add error handling for incorrect parameters for commands
  • Write setup command that takes all the parameters needed to create a league object
    • Store this data is a JSON, then look into NoSQL DB in Azure and how to connect it
  • deploy the bot to Azure
  • set up github actions for automated deployments
  • Add new useful and advanced stats

FUTURE WORK - once the bot is polished, bulletproof, and well-designed

  • Add roto support??
  • Look into adding team logo's on certain commands -- teams have logo url fields There is a branch on the repo called logos -- fetching the pics and sending them through the bot is working, but the logos have weird lines coming off the right

NOTES

  • If the FBB league is, or has ever been, a private league then you need to provide espn_s2 and swid when building the league object -- instructions below (cwendt94/espn-api#150)

  • the /standings command on NBA Bot shows the limit on mobile

  • Injury rate cannot be done using the espn_api -- the game_played field gets marked to 100 if they play one game that week, not all

  • Add descriptions to parameters of commands (Pycord-Development/pycord#1861)

About

FBBot is a Discord bot built to retrieve and generate data related to ESPN H2H Scoring Fantasy Basketball Leagues such as scores, advanced stats, and information about fantasy teams and NBA players within the fantasy league

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages