As some of you may have seen, the community now has a match thread bot to help with automating creation and updating match threads.
The bot takes a request in the format -football football@lemmy.world Barcelona - Real Madrid
and will look up to 6 days ahead for an upcoming match and add it to a queue. ~15 minutes before kick off it will make a post that it will continuously update with available score, stats and commentary.
To make a request you can either tag the bot or reply to one of the bot’s comments. See the comments for an interaction example.
The bot will work in any community federated with lemmy.world so if you want to create a live thread in e.g. c/gunners you could make a request like this -football gunners@lemmy.world Arsenal - Tottenham
Do note that the bot requires approval from a mod or admin to post in a community. So unless you’re a mod/admin, you’ll need to ask them to approve the bot via -mod_action whitelist gunners@lemmy.world
or become a trusted user that can bypass the block -mod_action trust username
.com gunners .world
For a more detailed and technical overview of the bot’s capabilities, please check the readme in the gitlab repo: https://gitlab.com/UlrikHD/lemmy-match-thread-bot
Example output of a live thread: https://lemmy.ml/post/18633476
@LiveThreadBot@lemmy.world -football FC Porto - Manchester United
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
@LiveThreadBot@lemmy.world -football reddevils@lemmy.world FC Porto - Manchester United
@LiveThreadBot@lemmy.world -mod_action buffer_time 3600 reddevils@lemmy.world
@LiveThreadBot@lemmy.world -football Biggleswade FC - Canvey Island
@LiveThreadBot@lemmy.world -football -w Man City - Brighton
@LiveThreadBot@lemmy.world -football Swansea City - Bristol City
Please don’t spam football requests as we don’t want to drown the sub with inactive live threads. If you make a request, you should preferably be active in the live thread.
Sorry. I was curious as to what it could pick up match wise. Did not mean any harm.
It’s fine, just nipping it in the bud before it gets too much.
The bot can cover all games that espn covers here: https://www.espn.com/soccer/scoreboard
awesome work on the bot, any plans to add a subscribe to team feature?
for example it would be nice to subscribe to all Manchester United games on the reddevils community.
I can implement that soon, I’ll let you know.
@LiveThreadBot@lemmy.world -football Manchester United - Tottenham Hotspur
@LiveThreadBot@lemmy.world -football Ipswich Town - Aston Villa
@LiveThreadBot@lemmy.world -football AS Monaco - Montpellier HSC
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
-queue -football
Football_game queued up for posting in football@lemmy.world:
Match-up Date Women’s game norwich city - leeds united 2024-10-01T18:45:00Z False -queue -football
@LiveThreadBot@lemmy.world -football Bologna - Atalanta
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
-football Alavés - Barcelona
-football Barcelona - young boys
Thanks
Aight, how in the world did you see the request as fast as the bot lmao
@LiveThreadBot@lemmy.world -football Barnsley - Stockport Country FC
@LiveThreadBot@lemmy.world -football Norwich City - Hull City
@LiveThreadBot@lemmy.world -football Norwich city - Leeds United
@LiveThreadBot@lemmy.world -football Osasuna - Barcelona
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
-queue
@LiveThreadBot@lemmy.world -football Tottenham - Arsenal
Haven’t pushed it to repo yet, but this is currently the mapping for teams that may have their shorthand form requested instead of the name ESPN uses. Let me know if there’s any other teams I should add
‘No live game found, wrong team names?’
Instruction given:
Football Live Thread Post to: football@lemmy.world Home team: Tottenham Away Team: Arsenal
Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.
-football Tottenham Hotspur - Arsenal
Hmm, I should probably create a dict that links Tottenham to Tottenham Hotspur
@LiveThreadBot@lemmy.world -queue -football superlig@lemy.lol
@LiveThreadBot@lemmy.world -football superlig@lemy.lol Galatasaray - Caykur Rizespor