22
LiveThreadBot is now live (programming.dev)
submitted 3 months ago* (last edited 3 months ago) by UndercoverUlrikHD@programming.dev to c/football@lemmy.world

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@instance.com gunners@lemmy.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

(page 2) 50 comments
sorted by: hot top controversial new old
[-] Astrealix@lemmy.world 2 points 3 months ago

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

load more comments (1 replies)
[-] pisturko@lemy.lol 1 points 3 months ago

@LiveThreadBot@lemmy.world -mod_action whitelist superlig@lemy.lol

load more comments (12 replies)
[-] pisturko@lemy.lol 1 points 3 months ago

@LiveThreadBot@lemmy.world -football superlig@lemy.lol Trabzonspor - Besiktas

load more comments (1 replies)
[-] pisturko@lemy.lol 1 points 3 months ago
[-] LiveThreadBot@lemmy.world 1 points 3 months ago

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

[-] Blaze@sopuli.xyz 1 points 3 months ago
[-] LiveThreadBot@lemmy.world 1 points 3 months ago

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

[-] pisturko@lemy.lol 1 points 3 months ago

@LiveThreadBot@lemmy.world -football -queue

[-] LiveThreadBot@lemmy.world 1 points 3 months ago

Unknown request, please reply with -help for a list of available commands. Reason given: Unexpected format on request, expected a single spaced out dash separating the two teams.

[-] pisturko@lemy.lol 1 points 3 months ago

@LiveThreadBot@lemmy.world -queue -football

[-] LiveThreadBot@lemmy.world 1 points 3 months ago

Football_game queued up for posting in football@lemmy.world:

Match-up | Date


|


paris saint-germain - brest | 2024-09-14T19:00:00Z real sociedad - real madrid | 2024-09-14T19:00:00Z girona - barcelona | 2024-09-15T14:15:00Z trabzonspor - besiktas | 2024-09-15T17:00:00Z

[-] pisturko@lemy.lol 1 points 3 months ago
[-] LiveThreadBot@lemmy.world 1 points 3 months ago

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

[-] pisturko@lemy.lol 1 points 3 months ago* (last edited 3 months ago)
[-] LiveThreadBot@lemmy.world 1 points 3 months ago

Football_game queued up for posting in football@lemmy.world:

Match-up | Date


|


paris saint-germain - brest | 2024-09-14T19:00:00Z real sociedad - real madrid | 2024-09-14T19:00:00Z girona - barcelona | 2024-09-15T14:15:00Z

[-] Blaze@sopuli.xyz 1 points 3 months ago

-football Real Sociedad - Real Madrid

[-] pisturko@lemy.lol 1 points 3 months ago

@LiveThreadBot@lemmy.world -queue -football superlig@lemy.lol

[-] Blaze@sopuli.xyz 1 points 3 months ago

Seems like it works now, what did you change?

load more comments (2 replies)
[-] LiveThreadBot@lemmy.world 1 points 3 months ago

Football_game queued up for posting in superlig@lemy.lol:

Match-up | Date


|


trabzonspor - besiktas | 2024-09-15T17:00:00Z

[-] Blaze@sopuli.xyz 1 points 3 months ago

@LiveThreadBot@lemmy.world -football Tottenham - Arsenal

[-] UndercoverUlrikHD@programming.dev 2 points 3 months ago* (last edited 3 months ago)

Hmm, I should probably create a dict that links Tottenham to Tottenham Hotspur

[-] LiveThreadBot@lemmy.world 1 points 3 months ago

'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.

load more comments (3 replies)
load more comments (2 replies)
[-] Blaze@sopuli.xyz 1 points 3 months ago

@LiveThreadBot@lemmy.world -football AS Monaco - FC Barcelona

load more comments (1 replies)
load more comments
view more: ‹ prev next ›
this post was submitted on 07 Sep 2024
22 points (100.0% liked)

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

5698 readers
8 users here now

Here for discussion of all things association football/soccer!

Rules

Other Football/Soccer Related Communities

founded 2 years ago
MODERATORS