Skip to content

Latest commit

 

History

History
81 lines (66 loc) · 5.18 KB

File metadata and controls

81 lines (66 loc) · 5.18 KB

BUGS

  • No bugs known

TO-DO

  • Deploy it
    • tried Heroku, getting dependency issues everywhere
    • Try Google Compute?
  • set up github actions for automated deployments
    • Might need to be an action to go into a VM via SSH and run terminal commmands to git pull then restart
  • Have main be the main discord bot and always have it running, then have a test discord bot set to a development branch
  • Try the logos again
  • Add new useful and advanced stats
    • on draft recap, show total points and/or average points per game
    • Add commands that fire every so often (weekly and yearly awards)
    • Add compare players command (player1 season1 player2 season2)
    • Add schedule command
      • team specific or week in league specific
    • average fantasy points a player gets when playing that team (career, last X seasons, both?)
    • Use projected points totals to get a before season power rankings
    • Do current power rankings? last three weeks column with season rank column?
      • Use live draft trends to determine draft grades for each team (compare player at spot drafted with what the live trend is)
        • or use pre-season rankings?
    • Have leaderboard of players who have scored the most on a given day/week/month/year
  • Set up gambling feature to gain and bet chips on fantasy related or real-life bets
    • maybe grab the top X amount of trending bets and have users choose from that?
    • call the fake currency "LeBucks" or "LeBux"
    • claim daily reward?
      • keep track of daily reward streaks and give perks/bonus currency the longer it goes
      • weekend bonus since games on saturday and sunday start at weird times?
    • check out elijah's betting bot
    • Have Lebucks Leaderboard (server and global leaderboard)
    • Have biggest winners and losers for daily, weekly, monthly timeperiods
    • Historic bets?
  • Look into message options thing that Elijah showed you
    • this could help bring your bot to be a small GUI instead of terminal commands?
    • Maybe use Options to have Stats and Gambling sections?
  • post on top.gg
  • make frontend for registration?
  • Create Wiki on github with docs on all commands?

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)

  • A common scheme for logging typically includes the following elements:

    • Severity levels: Log messages are assigned a severity level, such as "debug", "info", "warning", "error", or "critical", to indicate the importance or urgency of the message. This allows you to filter and prioritize log messages based on their severity.

    • Timestamps: Log messages are stamped with a timestamp indicating when the message was generated. This allows you to track the progression of events over time.

    • Message content: Log messages contain descriptive text that provides information about what is happening in the application. The message content should be clear, concise, and informative.

    • Contextual information: Log messages often include additional contextual information, such as the source of the log message (e.g., the module or class that generated the message), the log message's severity level, and any relevant data associated with the message (e.g., the parameters of a function call).

    • Storage: Log messages are stored in a central location, such as a file, a database, or a cloud-based service, where they can be easily retrieved and analyzed.

    • This basic scheme provides a starting point for logging in your application, but you can also add additional elements, such as unique IDs for log messages, custom metadata, and structured log data, to meet your specific needs and requirements.

  • Good events to log typically include important and significant actions performed by an application, system, or user. Here are some examples of events that are commonly logged:

    • Authentication and authorization events, such as successful and unsuccessful login attempts
    • System startup and shutdown events
    • Resource access events, such as file or database access
    • Configuration changes to the system or application
    • Network events, such as incoming and outgoing network connections
    • Performance events, such as system performance metrics, resource utilization, and slow requests
    • Security events, such as detected intrusions, attacks, or unauthorized access attempts
    • Error and exception events, such as uncaught exceptions, unexpected errors, or system failures
    • It's important to log events that can provide context to security incidents and system failures, as well as events that can help monitor and diagnose performance issues. The specific events to log will depend on the requirements of the system or application, as well as any regulatory or compliance requirements.