Update: To add or remove women’s game’s, you now need to add -w
to the command. E.g. -football -w Barcelona - Liverpool
or -remove -football -w Barcelona - Liverpool
This is due to edge cases where men’s and women’s team share name and play against the same opponent on the same day. Women’s match thread will also be marked with [Women’s game] in the title.
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 Hotspur
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
Hey, mod from c/gunners here: how do I differentiate the mens’ and womens’ teams in the command? Cuz we play man city with both our teams on sunday and I don’t think the bot is being able to differentiate, it seems to only be finding one of the matches (probably cuz of the same team problem)
@LiveThreadBot@lemmy.world -football Belgium - France
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
@LiveThreadBot@lemmy.world -football England - Greece
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
@LiveThreadBot@lemmy.world -football !football@lemmy.world -queue Brentford - Manchester City
‘No live game found, wrong team names?’
Instruction given:
Football Live Thread Post to: football@lemmy.world Home team: -queue brentford - Away Team: Manchester city
Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.
@UndercoverUlrikHD@programming.dev you might want to have a look
The login error seems to have its root issue in a Python Lemmy API library. I’ve sent a pull request to fix the issue, but it may take a week or two for the maintainer to see it.
If the lemmy.world servers goes down in the meantime the bot will likely fail again, so just tag me again if the bot doesn’t respond within 15 minutes.
Great, thanks!
Thanks for the notifications, was a login error that kept the bot offline. Will look into fixing it.
It seems to be working now, I got messages in the other thread
@LiveThreadBot@lemmy.world -football AS Monaco - FC Barcelona
Request added to the live queue, the Live Thread will be posted ~16.0 min before kick-off.
@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 -mod_action buffer_time 3600 reddevils@lemmy.world
@LiveThreadBot@lemmy.world -football reddevils@lemmy.world FC Porto - Manchester United
Request added to the live queue, the Live Thread will be posted ~1h, 0min before kick-off.
@LiveThreadBot@lemmy.world -football Manchester City - Inter Milan
‘No live game found, wrong team names?’
Instruction given:
Football Live Thread Post to: football@lemmy.world Home team: Manchester city Away Team: Inter milan
Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.
@LiveThreadBot@lemmy.world -football Manchester City - Internazionale
Request added to the live queue, the Live Thread will be posted ~16.0 min before kick-off.
@LiveThreadBot@lemmy.world -football AC Milan - Liverpool
Request added to the live queue, the Live Thread will be posted ~16.0 min before kick-off.
-football Manchester City - Arsenal
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
-football Bayern Munich - Dinamo Zagreb
‘Bayern munich - Dinamo zagreb is more than 2 hours old.’
Instruction given:
Football Live Thread Post to: football@lemmy.world Home team: Bayern munich Away Team: Dinamo zagreb
Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.
-queue -football
No games are currently queued up for Football_game in football@lemmy.world.
I like how we’re the example and I didn’t even know about this bot till now. Might consider using this. Does it do women’s football as well?
Great, thanks!
This is a really neat bot, I hope c/football has enough traffic to create some good discussion in the match threads!
@LiveThreadBot@lemmy.world -football FK Crvena zvezda - Benfica
‘No live game found, wrong team names?’
Instruction given:
Football Live Thread Post to: football@lemmy.world Home team: Fk crvena zvezda Away Team: Benfica
Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.
@LiveThreadBot@lemmy.world -football Osasuna - Barcelona
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
@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 -queue -sport gunners@lemmy.world
@LiveThreadBot@lemmy.world -football Bologna - Atalanta
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
-football Barcelona - young boys
Thanks
Aight, how in the world did you see the request as fast as the bot lmao
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
Ping
Unknown request, please reply with
-help
for a list of available commands.Reason given:
No command given.
Where do we post these requests to the bot? And why didn’t it work for this match?
-football Alavés - Barcelona
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.