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

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

5705 readers
1 users here now

Here for discussion of all things association football/soccer!

Rules

Other Football/Soccer Related Communities

founded 2 years ago
MODERATORS
1
LiveThreadBot is now live (programming.dev)
submitted 4 months ago* (last edited 3 months 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

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 3 months ago

@[email protected] -football Biggleswade FC - Canvey Island

[–] [email protected] 0 points 3 months ago

@[email protected] -football -w Man City - Brighton

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

@[email protected] -football Swansea City - Bristol City

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

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.

[–] [email protected] 0 points 3 months ago (3 children)

Sorry. I was curious as to what it could pick up match wise. Did not mean any harm.

load more comments (3 replies)
[–] [email protected] 0 points 3 months ago

@[email protected] -football Manchester United - Tottenham Hotspur

[–] [email protected] 0 points 3 months ago

@[email protected] -football Ipswich Town - Aston Villa

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

@[email protected] -football AS Monaco - Montpellier HSC

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

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

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

Football_game queued up for posting in [email protected]:

Match-up | Date | Women's game


|


|


norwich city - leeds united | 2024-10-01T18:45:00Z | False

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

Football_game queued up for posting in [email protected]:

Match-up | Date | Women's game


|


|


ipswich town - aston villa | 2024-09-29T13:00:00Z | False swansea city - bristol city | 2024-09-29T14:00:00Z | False manchester united - tottenham hotspur | 2024-09-29T15:30:00Z | False norwich city - leeds united | 2024-10-01T18:45:00Z | False

load more comments (3 replies)
[–] [email protected] 0 points 3 months ago (1 children)
[–] [email protected] 0 points 3 months ago (6 children)

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

load more comments (6 replies)
[–] [email protected] 0 points 3 months ago

@[email protected] -football Barnsley - Stockport Country FC

[–] [email protected] 0 points 3 months ago

@[email protected] -football Norwich City - Hull City

[–] [email protected] 0 points 3 months ago

@[email protected] -football Norwich city - Leeds United

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

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

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

btw: from last match thread of ours, not sure if this is a bug on your end or ESPN's, but Jorginho's mononym seems to be causing a tiny bug

[–] [email protected] 0 points 3 months ago

Thanks for the report, will fix it soon 👌

[–] [email protected] 0 points 3 months ago (1 children)
[–] [email protected] 0 points 3 months ago (2 children)

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

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

-football Barcelona - getafe

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

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

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

Unknown request, please reply with -help for a list of available commands.

Reason given: No command given.

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

Unknown request, please reply with -help for a list of available commands.

Reason given: No command given.

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

Football_game queued up for posting in [email protected]:

Match-up | Date | Women's game


|


|


osasuna - barcelona | 2024-09-28T19:00:00Z | False

load more comments (1 replies)
[–] [email protected] 0 points 3 months ago

-queue -football

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

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)

[–] [email protected] 0 points 3 months ago (2 children)

I've added the women's team directly into the queue. I didn't account for for multiple teams having the exact same name and playing the same day in the code when writing it, so I'll need fix the issue.

[–] [email protected] 0 points 3 months ago* (last edited 3 months ago)
[–] [email protected] 0 points 3 months ago
[–] [email protected] 0 points 3 months ago

@[email protected] -football FK Crvena zvezda - Benfica

load more comments
view more: ‹ prev next ›