this post was submitted on 07 Sep 2024
22 points (100.0% liked)

Football (Soccer fútbol fußball 足球 )

5667 readers
7 users here now

Here for discussion of all things association football/soccer!

Rules

Other Football/Soccer Related Communities

founded 1 year ago
MODERATORS
22
LiveThreadBot is now live (programming.dev)
submitted 2 months ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

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 [email protected] 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 [email protected] 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 [email protected] or become a trusted user that can bypass the block -mod_action trust [email protected] [email protected]

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 month ago (1 children)

'No live game found, wrong team names?'

Instruction given:

Football Live Thread
Post to: [email protected]
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.

[–] [email protected] 1 points 1 month ago (1 children)

@[email protected] -football Manchester City - Internazionale

[–] [email protected] 1 points 1 month ago (1 children)

Request added to the live queue, the Live Thread will be posted ~16.0 min before kick-off.

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago (3 children)

Request added to the live queue, the Live Thread will be posted ~16.0 min before kick-off.

[–] [email protected] 2 points 1 month ago (1 children)

-football Manchester City - Arsenal

[–] [email protected] 1 points 1 month ago (4 children)

Request added to the live queue, the Live Thread will be posted ~16min before kick-off.

[–] [email protected] 1 points 1 month ago (1 children)

-football Manchester City - Arsenal

[–] [email protected] 1 points 1 month ago

Request added to the live queue, the Live Thread will be posted ~16min before kick-off.

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 0 points 1 month ago

No games are currently queued up for Football_game in [email protected].

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago

No games are currently queued up for Football_game in [email protected].

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago

Football_game queued up for posting in [email protected]:

Match-up | Date


|


manchester city - arsenal | 2024-09-22T15:30:00Z

[–] [email protected] 1 points 1 month ago (1 children)

-football Bayern Munich - Dinamo Zagreb

[–] [email protected] 1 points 1 month ago

'Bayern munich - Dinamo zagreb is more than 2 hours old.'

Instruction given:

Football Live Thread
Post to: [email protected]
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.

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago (1 children)

No games are currently queued up for Football_game in [email protected].

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 0 points 1 month ago

Request added to the live queue, the Live Thread will be posted ~16min before kick-off.