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

you are viewing a single comment's thread
view the rest of the comments
[-] pisturko@lemy.lol 2 points 3 months ago* (last edited 3 months ago)

can you guys add my Turkish Süper Lig community to allowed communities? I can add live threads to there if I can. !superlig@lemy.lol

@Blaze@feddit.org @UndercoverUlrikHD@programming.dev @UlrikHD@programming.dev

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

Good to see a nice a community for the SuperLig!

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

Thanks, I'm glad too, for having a bot that works with Süper Lig :)

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

You can whitelist the community (if you're a moderator or admin) with the command -mod_action whitelist superlig@lemy.lol

Edit: you also don't need to whitelist it to have it post threads there if you're a mod. If you're a mod you can make a request and it will post even if not whitelisted for general use.

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

Oh I thought the whitelist stuff was operated by bot owner. Makes sense now, thx.

[-] UndercoverUlrikHD@programming.dev 3 points 3 months ago

I can do it, but I don't want to push the bot on other communities. Everything I as a bot Maintainer can do, admins/mods can also do.

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