21
LiveThreadBot is now live (programming.dev)
submitted 2 weeks ago* (last edited 6 days ago) by [email protected] to c/[email protected]

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 day ago

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] 3 points 15 hours ago* (last edited 15 hours ago)

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 against each other in the code when writing it, so I'll need fix the issue.

[-] [email protected] 1 points 15 hours ago
[-] [email protected] 1 points 15 hours ago

Football_game queued up for posting in [email protected]:

Match-up | Date


|


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

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

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

5653 readers
25 users here now

Here for discussion of all things association football/soccer!

Rules

Other Football/Soccer Related Communities

founded 1 year ago
MODERATORS