sprx97 / wesbot Goto Github PK
View Code? Open in Web Editor NEWHockey-related Discord Bot that reports scores and fantasy matchups.
Home Page: http://www.roldtimehockey.com
Hockey-related Discord Bot that reports scores and fantasy matchups.
Home Page: http://www.roldtimehockey.com
More sustainable way of storing data and should make it less likely to break.
Blocked by lack of Challonge API for two-stage tournaments
Maybe open it at 5 still but ping at 2. Too many false alarms where someone scores a late GWG.
This would be nice to have, but is currently blocked because discord.py only allows one embedded link per message.
Workaround of sending many messages isn't as good as being able to embed them all, so I'll wait.
To list the scorers for a team tonight.
This can be done thanks to the pygsheets api. Eventually it could be used to "run" registration.
I believe this is because the inactive scan goes off on Mondays and !inactives can check it live.
I also want to add something that reports anyone with a CR under 85% for investigation/pings.
Something for Sundays maybe -- any matchup within N points? Or N points + X*player_difference?
Either display in 24h time or include AM/PM
Last Lineup Change not exposed in Fleaflicker API sadly.
Can work on this a bit during playoffs this year maybe.
Would need some error catching for non-playoff teams.
Allow servers to select which channel !ot commands are used in. This will also allow us to print standings nightly.
This would be nice to have, but is currently blocked because discord.py only allows one embed per message.
Workaround of sending many messages isn't as good as being able to embed them all, so I'll wait.
Would have to read the schedule, convert the date/time and start the scraper when the first game starts and end when all are final.
Or just see if there's a push API?
https://statsapi.web.nhl.com/api/v1/game/ID/feed/live/diffPatch?startTimecode=yyyymmdd_hhmmss
This is interesting.
Would need some error catching for non-playoff teams.
Probably predicated on allowing !setup for OT commands.
Example: https://statsapi.web.nhl.com/api/v1/game/2020020509/feed/live
The "Penalty Shot" event is listed after the goal for some reason.
Possible solutions:
Command would be !ot register, and it would store a list of users to DM every time an OT challenge opens. Request from BrianKK
Leave commenting off, but allow emoji voting (1, 2, =)
Would be nice to have more control over the player, but unsure if that's possible.
Trustybot does this via emojis. The workflow would be:
May get a tad spammy, but would be nice to have the continuity.
Would have to read the schedule, convert the date/time and start the scraper when the first game starts and end when all are final.
Should be pretty easy, as it should already be in the struct I'm getting from nhl.com api.
It seems like the guilds aren't fully available by then so I'm getting a nonetype error. Probably can be fixed with a while loop
Returns the "user not found" message when it should say something along the lines of "matchup not found".
Thread check and Trades check are running constantly, despite being flagged to only run once ever 3 hours or so.
Currently we snap to the first entry in the list, but not the last. Unsure how to gracefully handle that.
And double check that there's no extraneous vars in the json.
Despite the blue hyperlink and video camera emoji, people still are surprised to find out Wes links to goal replays. Here's a few more options:
Version 7.1.4 of praw is outdated. Version 7.2.0 was released 5 days ago.
Would be nice to have that for SO games... even if it might be a tad spammy.
Currently !ft only checks the author
That's no surprise. He's on the third axis of transcendence right now. Alex Nedeljkovic moves in anti-planar reality (or prime-planar reality, shouts to my qmech nerds who really buy Frisch-Hayes.) While goalies like Thomas Greiss or Andrei Vasilevskiy see the game from an x and o perspective, Alex has vision of the omega and delta factors surrounding any given hockey event. There's a reason Alex was able to lead Martin Necas to the 2019 Calder Cup. Put simply, Nedeljkovic is visuospatial jazz. Think of Ornette Coleman or Buddy Rich, not Henrik Lundqvist or Tuukka Rask. The dorian stylings of a Eric Dolphy better describe Ned's game than a monotone listing-off of conventional goalie skills. Puck handles? When you're in constant tune with the precise Hz pitch of the ice like Nedeljkovic, English words like "good save" cannot encapsulate even a fractoid of the scientific and metaphysical majesty of Alex.
Allow @mods to "penalty box" people for a set amount of time.
Meme request from OTH.
Would be nice to just be able to run !roles, and have that check the FF leagues and then the registration sheet/assignments, instead of having to copy paste and index-match everything.
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.