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

top 50 comments
sorted by: hot top controversial new old
[-] Prior_Industry@lemmy.world 1 points 1 day ago

@LiveThreadBot@lemmy.world -football Sun Norwich City - Millwall FC

[-] LiveThreadBot@lemmy.world 1 points 1 day ago

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

[-] Prior_Industry@lemmy.world 1 points 6 days ago

@LiveThreadBot@lemmy.world -football Sunderland AFC - Norwich City

[-] LiveThreadBot@lemmy.world 1 points 6 days ago

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

[-] Coelacanth@feddit.nu 7 points 3 months ago

This is a really neat bot, I hope c/football has enough traffic to create some good discussion in the match threads!

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

Great, thanks!

[-] Astrealix@lemmy.world 4 points 3 months ago

I like how we're the example and I didn't even know about this bot till now. Might consider using this. Does it do women's football as well?

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

If the game is casted on espn it is supported, which should be most professional leagues.

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

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

[-] 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

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

Thanks for the report, will fix it soon 👌

[-] UndercoverUlrikHD@programming.dev 2 points 3 months ago
[-] LiveThreadBot@lemmy.world 2 points 3 months ago

https://sopuli.xyz/u/blaze is now a trusted user in football@lemmy.world. The user can now request live threads without being rate limited or requiring whitelisted community access.

[-] UndercoverUlrikHD@programming.dev 3 points 3 months ago
[-] LiveThreadBot@lemmy.world 2 points 3 months ago

https://lemmy.world/u/testulrikhd is now banned in football@lemmy.world. The user can no longer interact with bot in this community.

[-] UndercoverUlrikHD@programming.dev 2 points 3 months ago
[-] LiveThreadBot@lemmy.world 2 points 3 months ago

Rules for football@lemmy.world as of 2024-09-07T14:41:32.241341+00:00:

Bot whitelisted for entire site: False

Bot whitelisted for community: True

Bot blacklisted for entire site: False

Bot blacklisted for community: False

Trusted users:

Username | Community


|


undercoverulrikhd@programming.dev | -@lemmy.world blaze@sopuli.xyz | football@lemmy.world

Banned users:

Username | Community


|


testulrikhd@lemmy.world | football@lemmy.world

[-] UndercoverUlrikHD@programming.dev 2 points 3 months ago
[-] LiveThreadBot@lemmy.world 3 points 3 months ago

Hello! I am a bot that can create live threads on lemmy.

I can be called by either tagging me in a comment or by replying to me.

Usage:

For all (optional) community@instance inputs, if none given, will assume the community the message is sent from.

-football community@instance(optional {home team} - {away team} - Sets up a game in the queue for live-thread creation. Thread is created ~16.0 min before kick-off. Defaults to football@lemmy.world if no community is given.

-remove {-sport} {community@instance}(optional) {home team} - {away team} - Removes a game queued for live-thread creation. Only available for requester, mods and admins.

-queue {-sport} {community@instance}(optional) - Lists the current live threads queued for posting.

-mod_action {command} {input} - Various mod actions to set rules for the bot.

admin_action {command} {input}

-message {message} - Sends a message to bot maintainer

Mod commands:

rules {community@instance}(optional) - Shows the rules applied to the community.

blacklist {community@instance}(optional) - Will no longer interact with community.

remove_blacklist {community@instance}(optional) - Will interact with the community again.

whitelist {community@instance}(optional) - Opens up the bot to post in the community.

remove_whitelist {community@instance}(optional) - Removes the community from the whitelist.

trust {username@instance} {community@instance}(optional) - Removes rate limit restrictions for the user, all mods are trusted users for their communities.

untrust {username@instance} {community@instance}(optional) - Removes the trusted status for the user, can not apply to mods in their communities.

ban {username@instance} {community@instance}(optional) - The user can no longer interact with the bot in the given community.

unban {username@instance} {community@instance}(optional) - The user is removed from the ban list for the given community.

Admin commands:

Same as mod commands, however admins can also add commands to their entire instance by using the format {-@instance}. Do note that community specific commands overrule instance-wide commands.

Source Code: https://gitlab.com/UlrikHD/lemmy-match-thread-bot

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

-football Republic of Ireland - England

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

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

[-] UndercoverUlrikHD@programming.dev 2 points 3 months ago
[-] LiveThreadBot@lemmy.world 2 points 3 months ago

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

Match-up | Date


|


republic of ireland - england | 2024-09-07T16:00:00Z

load more comments (4 replies)
load more comments (8 replies)
[-] 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 :)

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

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

5698 readers
14 users here now

Here for discussion of all things association football/soccer!

Rules

Other Football/Soccer Related Communities

founded 2 years ago
MODERATORS