chrisparsons83 / ffdiscordbot Goto Github PK
View Code? Open in Web Editor NEWDiscord Bot for Fantasy Football
Discord Bot for Fantasy Football
Should we do a vegas odds command? it seems to help sometimes in prediciting shootouts.
I'm in another discord and they have a bot called "Simple Poll" that does really clean and easy polls. It looks like the sleeperbot webhook posts where the "Breaking News" header is the question, the news portion is the voting where it uses :regional_indicator_a: then the first option, :regional_indicator_b: for the second, etc. and people vote by putting reactions corresponding to the emojis.
super low priority if it's incorporated at all, just a cool thing I saw that might be helpful for the discord league voting especially.
When we move to postgres for a database backing, we should use a docker-compose file to make it easier for people to get started up on a database.
Three-person names are screwing things up on that chart.
Current behavior
Input: !depthchart NYJ, TE
Output:
Expected behavior:
Input: !depthchart NYJ, TE
Output:
%adp
scrapes from a 4for4 table which has been updated - https://www.4for4.com/adp
ESPN and yahoo are linked to the wrong index.
It looks like MFL is no longer supported
This command could add the 4f4 adp
i am curious about adding this to a private discord. is this possible? sorry for the newb question.
Please create a function !order which randomly orders any given number of inputs. Ex: !order 1, 2, 3, 4, 5 With output:
[In code box for clean look]
Example command:
!fp Isaiah Crowell, 1
Week 1 vPIT: Rush: 12/41/1, Receiving: 10 Targets, 6/86/0 (18.7 Standard, 24.7 PPR)
!fp Isaiah Crowell, all
This season: Rush: 44/160/3, Receiving: 32 Targets, 24/187/2 (64.7 Standard, 88.7 PPR)
The ADP commands along with others do not benefit from scraping websites, and it would be better if we could just have it call an internal database.
Self explanatory based on title
If possible, it would be nice to be able to do something like:
!depth [team] [position]
e.g.
!depth ATL RB
Returns:
Devonta Freeman
Tevin Coleman
Terron Ward
Possible sources:
http://www.ourlads.com/nfldepthcharts/depthchartpos/RB
https://www.cbssports.com/nfl/teams/depth-chart/ATL/atlanta-falcons
http://subscribers.footballguys.com/apps/depthchart.php
http://www.nfl.com/teams/chicagobears/depthchart?team=ATL
Using http://strawpoll.me
Syntax:
!poll <poll_question> | <poll_option_1> | <poll_option_2> | etc...
Output
URL of strawpoll.
Could we add some sort of reminder command that would function like:
!reminder [date & time], [reminder text]
and either it could DM you back the text at the date/time requested or we could create a channel just for the reminders so that it could be muted other than mentions.
One obstacle would be how to do time in am/pm. Military time might be a solution.
Another would be accounting for the different time zones. One option could be using a time standard, but that might get confusing when planning it out on the front end. Another would be to have time zone be an input. Idk if it's possible, but a third option would be if the bot can pull what the user's time standard is, but I doubt that'd be something that could be pulled.
I would recommend not publicizing that the bot has the capability as it could be easily used and abused by users, similarly to how the !predictions function has somewhat snowballed.
maybe some weather command where it shows the weather at the stadium. weather api should be relatively easy.
I'm struggling to get this up and running on Sparkedhost. Are either of you familiar with this hosting service?
Current, a command like !adp Kyler Murray does this:
ADP as of via 4for4 for Kyler Murray: ESPN: 106, MFL: 122, NFL: 124, Yahoo: 91
It should say:
ADP as of July 10, 2019 via 4for4 for Kyler Murray: ESPN: 106, MFL: 122, NFL: 124, Yahoo: 91
So it seems the Roto Command is no longer working properly. No matter the Player I search for it says, "There is no player found with that name.".. Even if I go to Rotoworld's Website and find the player with the most recent story, and use their name.
When boris decides to put flex ranking into his list, Need to update the wdis command.
!choose when empty will return a message asking for commas, when it should reject with an error.
Sent from my Google Nexus 6P using FastHub
Bot function that find the median and mean of stats of a player to help determine value on player props.
Mike has more info. Inspired by ETR Mike Leone
Twitter portion will hopefully become a "bot" in the sense that script will do certain things to bring attention to itself in an effort to accrue followers and likes. Other "issues" will be created to help address and experiment methods of creating a system that is:
Hopefully this leads to other random people on Twitter reacting and commenting on the !predictions of the Discord. When the reveal happens at the end of the year, hopefully there will be hilarity of how other random people react to their !predictions.
Any of the !depthchart lookups involving the NYJ do not return information.
!roto sefo liufau returns invalid form body.
I'm guessing because this person has no news.
This likely becomes a lot easier when coupled with your proposed solution for the duplicate sleeper alerts in the webhook, but currently a sleeper alert ending in a hyperlink inside of a quote includes the " in the link, so clicking the link goes to an error page instead of the tweet.
We could potentially use the nflteams npm package, but it may not have what we need.
Right now we have different objects managing the same data. We need to combine that together.
We should probably think about reasonable defaults in other places too but that's a good one to start with.
When running a command without an argument, no message will be returned due to how we parse messages for commands and arguments.
.8ball
doesn't return anything.
.8ball testing
will return a message.
We need a better way to present the list of commands for the bot. The github readme isn't cutting it anymore.
We currently have 20 or so commands for the 8-ball command. It would be nice to add a bunch more!
For example, !adp Derrick Henry -r 5 yahoo, and that shows players with adp 36:46
Not sure that giving the flexibility in showing the numbers around is necessary, and would want to put a cap if we did (max of 9? 11? people to display)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.