21
LiveThreadBot is now live (programming.dev)
submitted 1 week ago* (last edited 4 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 4 days ago

@[email protected], maybe an issue here, pisturko is a mod there

[-] [email protected] 1 points 4 days ago* (last edited 4 days ago)

It looks like it can't track commands from my community too :/ https://lemy.lol/post/31221309

edit: whitelisted the community https://lemy.lol/post/30848216/12995429

[-] [email protected] 1 points 4 days ago

It doesn't seem like your tags on the other instance are being detected by lemmy.world. At least not within reasonably time.

[-] [email protected] 2 points 4 days ago

Looks like nothing is reaching to lemmy.world. https://lemmy.world/post/19772630

I'm not sure which instance is faulty here. @[email protected]

[-] [email protected] 3 points 4 days ago* (last edited 4 days ago)

Yeah there is some federation issues. From a lemmy.world account I can't see any comments on superlig.

I've set the bot to subscribe to superlig, so hopefully lemmy.world will start to sync activity from that community.

Edit: for the record, it's the same for programming.dev as it is for lemmy.world. lemmy.ml only sees the latest post, with no comments.

[-] [email protected] 3 points 4 days ago

I had actually removed the previous post and created a new one. I just commented to the new post to test it and it appears to be federated to both lemmy.world and programming.dev now. Since the bot responded to my comment, I guess the problem was about federation.

[-] [email protected] 3 points 4 days ago

Good to hear, let me know if any other problems arise. And just be aware that there will likely be some minutes of latency for the match threads since each edit have to federate from world to lemy.

[-] [email protected] 3 points 4 days ago* (last edited 4 days ago)

Thanks for all. I need to ask one last thing, please excuse me :) Do I need to add community to request if I'm requesting from my community? I mean is it posting to [email protected] by default?

edit: it looks like it's using [email protected] by default 👍

[-] [email protected] 2 points 4 days ago* (last edited 4 days ago)

Yup

I'm hindsight it's a poor choice, but it's not worth the time to change as it's just minor inconsistency.

load more comments (4 replies)
load more comments (4 replies)
load more comments (6 replies)
this post was submitted on 07 Sep 2024
21 points (100.0% liked)

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

5652 readers
18 users here now

Here for discussion of all things association football/soccer!

Rules

Other Football/Soccer Related Communities

founded 1 year ago
MODERATORS