LiveThreadBot is now live

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

23 points · 251 comments · view on lemmy.world

251 Comments

Coelacanth@feddit.nu · 7 pts · 1y

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

Astrealix@lemmy.world · 4 pts · 1y (4 replies)

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 pts · 1y (3 replies)

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

Astrealix@lemmy.world · 1 pts · 1y (2 replies)

Hmmm, don't see our next UWCL game on there. Maybe cuz it's qualifiers still.

UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)

This is their espn page https://www.espn.com/soccer/team?id=19973

I can see they got a game lined up 22. September, close to the bottom of the score page

Edit:

Astrealix@lemmy.world · 1 pts · 1y

yeah, no, we've a game on Wednesday too.

Blaze@sopuli.xyz · 4 pts · 1y

Great, thanks!

FundMECFSResearch@lemmy.blahaj.zone · 3 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football !football@lemmy.world Switzerland - Spain

LiveThreadBot@lemmy.world · 2 pts · 1y

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

pisturko@lemy.lol · 2 pts · 1y (5 replies)

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 pts · 1y (1 reply)

Good to see a nice a community for the SuperLig!

pisturko@lemy.lol · 2 pts · 1y

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

UndercoverUlrikHD@programming.dev · 1 pts · 1y (2 replies)

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 pts · 1y (1 reply)

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

UndercoverUlrikHD@programming.dev · 3 pts · 1y

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.

UndercoverUlrikHD@programming.dev · 2 pts · 1y (17 replies)
LiveThreadBot@lemmy.world · 3 pts · 1y (16 replies)

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 pts · 1y (7 replies)

-football Republic of Ireland - England

LiveThreadBot@lemmy.world · 2 pts · 1y (6 replies)

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

UndercoverUlrikHD@programming.dev · 2 pts · 1y (5 replies)

-queue -football

LiveThreadBot@lemmy.world · 2 pts · 1y (4 replies)

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

Match-up Date
republic of ireland - england 2024-09-07T16:00:00Z
UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)

-remove -football republic of ireland - england

LiveThreadBot@lemmy.world · 1 pts · 1y

Game removed from live queue.

UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)
[ removed ]
LiveThreadBot@lemmy.world · 1 pts · 1y
[ removed ]
Blaze@sopuli.xyz · 1 pts · 1y (3 replies)

-football Croatia - Poland

LiveThreadBot@lemmy.world · 1 pts · 1y (2 replies)

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

Blaze@sopuli.xyz · 1 pts · 1y (1 reply)

-queue -football

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Match-up Date
croatia - poland 2024-09-08T18:45:00Z
Blaze@sopuli.xyz · 1 pts · 1y (3 replies)

-football France - Belgium

LiveThreadBot@lemmy.world · 2 pts · 1y (2 replies)

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

Blaze@sopuli.xyz · 1 pts · 1y (1 reply)

-queue -football

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Match-up Date
norway - austria 2024-09-09T18:45:00Z
france - belgium 2024-09-09T18:45:00Z
paris saint-germain - brest 2024-09-14T19:00:00Z
Astrealix@lemmy.world · 2 pts · 1y (1 reply)

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 pts · 1y

Thanks for the report, will fix it soon 👌

Prior_Industry@lemmy.world · 2 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Manchester City - Fulham

LiveThreadBot@lemmy.world · 1 pts · 1y

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

UndercoverUlrikHD@programming.dev · 2 pts · 1y (5 replies)
LiveThreadBot@lemmy.world · 2 pts · 1y (4 replies)

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 pts · 1y (3 replies)
LiveThreadBot@lemmy.world · 2 pts · 1y (2 replies)

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 pts · 1y (1 reply)

-mod_action rules

LiveThreadBot@lemmy.world · 2 pts · 1y

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
Prior_Industry@lemmy.world · 1 pts · 1y (3 replies)

@LiveThreadBot@lemmy.world -football Portsmouth - Norwich City

LiveThreadBot@lemmy.world · 1 pts · 1y (2 replies)

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

UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)

-football Dortmund - Barcelona

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (3 replies)

@LiveThreadBot@lemmy.world -football England U21 - Azerbaijan U21

LiveThreadBot@lemmy.world · 1 pts · 1y (2 replies)

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

sanguinepar@lemmy.world · 1 pts · 1y (1 reply)

-football football@lemmy.world Scotland - Portugal

LiveThreadBot@lemmy.world · 2 pts · 1y

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

Blaze@sopuli.xyz · 1 pts · 1y (1 reply)

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

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football West Bromwich Albion - Norwich City

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)
[ removed ]
LiveThreadBot@lemmy.world · 1 pts · 1y

'No live game found, wrong team names?'

Instruction given:

Football Live Thread
Post to: football@lemmy.world
Home team: Biggleswade fc
Away Team: Canvey island

Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Finland - England

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)
[ removed ]
LiveThreadBot@lemmy.world · 1 pts · 1y

'No live game found, wrong team names?'

Instruction given:

Football Live Thread
Post to: football@lemmy.world
Home team: Norwich city
Away Team: Hull city

Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.

pisturko@lemy.lol · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football FK Crvena zvezda - Benfica

LiveThreadBot@lemmy.world · 1 pts · 1y

'No live game found, wrong team names?'

Instruction given:

Football Live Thread
Post to: football@lemmy.world
Home team: Fk crvena zvezda
Away Team: Benfica

Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Northampton Town - Kettering Town

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football England - Greece

LiveThreadBot@lemmy.world · 2 pts · 1y

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

Blaze@sopuli.xyz · 1 pts · 1y (3 replies)

@LiveThreadBot@lemmy.world -football Osasuna - Barcelona

LiveThreadBot@lemmy.world · 2 pts · 1y (2 replies)

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

Blaze@sopuli.xyz · 1 pts · 1y (1 reply)

-queue

LiveThreadBot@lemmy.world · 1 pts · 1y

Unknown request, please reply with -help for a list of available commands.

Reason given: No arguments were given for queue command.

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Norwich city - Leeds United

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Blaze@sopuli.xyz · 1 pts · 1y (13 replies)

@LiveThreadBot@lemmy.world -football Villareal - Barcelona

LiveThreadBot@lemmy.world · 2 pts · 1y (12 replies)

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

UndercoverUlrikHD@programming.dev · 1 pts · 1y (9 replies)

-football Barcelona - getafe

LiveThreadBot@lemmy.world · 1 pts · 1y (8 replies)

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

UndercoverUlrikHD@programming.dev · 1 pts · 1y (7 replies)

Ping

LiveThreadBot@lemmy.world · 1 pts · 1y (6 replies)

Unknown request, please reply with -help for a list of available commands.

Reason given: No command given.

UndercoverUlrikHD@programming.dev · 1 pts · 1y (5 replies)

Ping

LiveThreadBot@lemmy.world · 1 pts · 1y

Unknown request, please reply with -help for a list of available commands.

Reason given: No command given.

Blaze@sopuli.xyz · 1 pts · 1y (1 reply)

-queue -football

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Match-up Date
manchester city - arsenal 2024-09-22T15:30:00Z
villarreal - barcelona 2024-09-22T16:30:00Z
Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

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

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Norwich City - Bristol City

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Barnsley - Stockport Country FC

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Norwich City - Hull City

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Norwich City - Burnley

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Queens Park Ranger - Norwich City

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (11 replies)

@LiveThreadBot@lemmy.world -football Bologna - Atalanta

LiveThreadBot@lemmy.world · 1 pts · 1y (10 replies)

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

UndercoverUlrikHD@programming.dev · 2 pts · 1y (7 replies)

-football Barcelona - young boys

Blaze@sopuli.xyz · 2 pts · 1y (2 replies)

Thanks

UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)

Aight, how in the world did you see the request as fast as the bot lmao

Blaze@sopuli.xyz · 1 pts · 1y

The power of "New comments" ha ha

tomatol@lemm.ee · 1 pts · 1y

Where do we post these requests to the bot? And why didn't it work for this match?

LiveThreadBot@lemmy.world · 1 pts · 1y (2 replies)

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

UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)

Ping

LiveThreadBot@lemmy.world · 1 pts · 1y

Unknown request, please reply with -help for a list of available commands.

Reason given: No command given.

tomatol@lemm.ee · 1 pts · 1y (1 reply)

-football Alavés - Barcelona

LiveThreadBot@lemmy.world · 1 pts · 1y

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

pisturko@lemy.lol · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football superlig@lemy.lol Galatasaray - Caykur Rizespor

LiveThreadBot@lemmy.world · 1 pts · 1y

'Galatasaray - Caykur rizespor is more than 2 hours old.'

Instruction given:

Football Live Thread
Post to: superlig@lemy.lol
Home team: Galatasaray

 Away Team: Caykur rizespor

Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Norwich City - Middlesbrough FC

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Blaze@sopuli.xyz · 1 pts · 1y (21 replies)

@LiveThreadBot@lemmy.world -football Manchester City - Inter Milan

LiveThreadBot@lemmy.world · 1 pts · 1y (20 replies)

'No live game found, wrong team names?'

Instruction given:

Football Live Thread
Post to: football@lemmy.world
Home team: Manchester city

 Away Team: Inter milan

Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.

Blaze@sopuli.xyz · 1 pts · 1y (19 replies)

@LiveThreadBot@lemmy.world -football Manchester City - Internazionale

LiveThreadBot@lemmy.world · 1 pts · 1y (18 replies)

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

Blaze@sopuli.xyz · 1 pts · 1y (17 replies)

@LiveThreadBot@lemmy.world -football AC Milan - Liverpool

LiveThreadBot@lemmy.world · 1 pts · 1y (16 replies)

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

UndercoverUlrikHD@programming.dev · 2 pts · 1y (9 replies)

-football Manchester City - Arsenal

LiveThreadBot@lemmy.world · 1 pts · 1y

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

UndercoverUlrikHD@programming.dev · 1 pts · 1y (3 replies)

-queue -football

LiveThreadBot@lemmy.world · 1 pts · 1y

No games are currently queued up for Football_game in football@lemmy.world.

UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)

-football Bayern Munich - Dinamo Zagreb

LiveThreadBot@lemmy.world · 1 pts · 1y

'Bayern munich - Dinamo zagreb is more than 2 hours old.'

Instruction given:

Football Live Thread
Post to: football@lemmy.world
Home team: Bayern munich
Away Team: Dinamo zagreb

Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.

kameecoding@lemmy.world · 1 pts · 1y (5 replies)

@LiveThreadBot@lemmy.world -football FC Porto - Manchester United

LiveThreadBot@lemmy.world · 1 pts · 1y (4 replies)

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

kameecoding@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football reddevils@lemmy.world FC Porto - Manchester United

LiveThreadBot@lemmy.world · 1 pts · 1y

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

kameecoding@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -mod_action buffer_time 3600 reddevils@lemmy.world

LiveThreadBot@lemmy.world · 1 pts · 1y

Post buffer time for reddevils@lemmy.world set to 1h, 0min. The bot will now post live threads 1h, 0min before kick-off.

pisturko@lemy.lol · 1 pts · 1y (12 replies)

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

LiveThreadBot@lemmy.world · 2 pts · 1y (11 replies)

Request was denied for the given reason: Bot requires user to have moderator privileges in superlig@lemy.lol to perform this action.

Blaze@sopuli.xyz · 1 pts · 1y (10 replies)

@UndercoverUlrikHD@programming.dev, maybe an issue here, pisturko is a mod there

UndercoverUlrikHD@programming.dev · 2 pts · 1y

Seems like federation sync between lemmy.world and lemy.lol is funky. The bot did detect the mod status correctly on second try, though there should be no reason it didn't detect it on first ping. It's just parsing response json after all.

The account also doesn't receive tags from lemy.lol for some reason, but that's an instance issue as I can't see tags when logging into the account on boost.

LiveThreadBot@lemmy.world · 1 pts · 1y

Unknown request, please reply with -help for a list of available commands. Reason given: No command given.

pisturko@lemy.lol · 1 pts · 1y (7 replies)

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

UndercoverUlrikHD@programming.dev · 1 pts · 1y (6 replies)

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

pisturko@lemy.lol · 2 pts · 1y (5 replies)

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

I'm not sure which instance is faulty here. @iso@lemy.lol

UndercoverUlrikHD@programming.dev · 3 pts · 1y (4 replies)

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.

pisturko@lemy.lol · 3 pts · 1y

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.

Blaze@sopuli.xyz · 1 pts · 1y (7 replies)

@LiveThreadBot@lemmy.world -football Tottenham - Arsenal

UndercoverUlrikHD@programming.dev · 2 pts · 1y (1 reply)

Haven't pushed it to repo yet, but this is currently the mapping for teams that may have their shorthand form requested instead of the name ESPN uses. Let me know if there's any other teams I should add

Blaze@sopuli.xyz · 1 pts · 1y

Great!

UndercoverUlrikHD@programming.dev · 2 pts · 1y

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

LiveThreadBot@lemmy.world · 1 pts · 1y (3 replies)

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

UndercoverUlrikHD@programming.dev · 2 pts · 1y (2 replies)

-football Tottenham Hotspur - Arsenal

Blaze@sopuli.xyz · 1 pts · 1y

Thanks !

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Astrealix@lemmy.world · 1 pts · 1y
Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Manchester City - Southampton

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)
[ removed ]
LiveThreadBot@lemmy.world · 1 pts · 1y

'No live game found, wrong team names?'

Instruction given:

Football Live Thread
Post to: football@lemmy.world
Home team: Man city
Away Team: Brighton

Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Manchester City - Feyenoord

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Ipswich Town - Aston Villa

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Norwich City - Plymouth Argyle

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)
[ removed ]
LiveThreadBot@lemmy.world · 1 pts · 1y

'Derby county - Norwich city is more than 2 hours old.'

Instruction given:

Football Live Thread
Post to: football@lemmy.world
Home team: Derby county
Away Team: Norwich city

Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.

Prior_Industry@lemmy.world · 1 pts · 1y (9 replies)

@LiveThreadBot@lemmy.world -football AS Monaco - Montpellier HSC

LiveThreadBot@lemmy.world · 1 pts · 1y (8 replies)

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

UndercoverUlrikHD@programming.dev · 1 pts · 1y (7 replies)

-queue -football

LiveThreadBot@lemmy.world · 1 pts · 1y (6 replies)

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

Match-up Date Women's game
norwich city - leeds united 2024-10-01T18:45:00Z False
UndercoverUlrikHD@programming.dev · 1 pts · 1y (5 replies)

-queue -football

LiveThreadBot@lemmy.world · 1 pts · 1y (4 replies)

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

Match-up Date Women's game
ipswich town - aston villa 2024-09-29T13:00:00Z False
swansea city - bristol city 2024-09-29T14:00:00Z False
manchester united - tottenham hotspur 2024-09-29T15:30:00Z False
norwich city - leeds united 2024-10-01T18:45:00Z False
UndercoverUlrikHD@programming.dev · 1 pts · 1y (3 replies)

Ping

LiveThreadBot@lemmy.world · 1 pts · 1y

Unknown request, please reply with -help for a list of available commands.

Reason given: No command given.

pisturko@lemy.lol · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -queue -football

LiveThreadBot@lemmy.world · 1 pts · 1y

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
Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Stoke City - Norwich City

LiveThreadBot@lemmy.world · 1 pts · 1y

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

pisturko@lemy.lol · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Trabzonspor - Besiktas

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Blaze@sopuli.xyz · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Spain - Denmark

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Norwich City - Luton Town

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Blaze@sopuli.xyz · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Real Sociedad - Real Madrid

LiveThreadBot@lemmy.world · 1 pts · 1y

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

UndercoverUlrikHD@programming.dev · 1 pts · 1y
Prior_Industry@lemmy.world · 1 pts · 1y (6 replies)

@LiveThreadBot@lemmy.world -football Swansea City - Bristol City

UndercoverUlrikHD@programming.dev · 1 pts · 1y (4 replies)

Please don't spam football requests as we don't want to drown the sub with inactive live threads. If you make a request, you should preferably be active in the live thread.

Prior_Industry@lemmy.world · 2 pts · 1y (3 replies)

Sorry. I was curious as to what it could pick up match wise. Did not mean any harm.

UndercoverUlrikHD@programming.dev · 1 pts · 1y (2 replies)

It's fine, just nipping it in the bud before it gets too much.

The bot can cover all games that espn covers here: https://www.espn.com/soccer/scoreboard

kameecoding@lemmy.world · 2 pts · 1y (1 reply)

awesome work on the bot, any plans to add a subscribe to team feature?

for example it would be nice to subscribe to all Manchester United games on the reddevils community.

UndercoverUlrikHD@programming.dev · 2 pts · 1y

I can implement that soon, I'll let you know.

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Venezia FC - Atlanta

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Manchester City - Tottenham Hotspur

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Astrealix@lemmy.world · 1 pts · 1y (7 replies)

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)

UndercoverUlrikHD@programming.dev · 3 pts · 1y (6 replies)

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.

UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)
[ removed ]
LiveThreadBot@lemmy.world · 2 pts · 1y

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

Match-up Date
manchester city - arsenal 2024-09-22T15:30:00Z
UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)
[ removed ]
LiveThreadBot@lemmy.world · 1 pts · 1y

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

Match-up Date
manchester city - arsenal 2024-09-22T15:30:00Z
UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -queue -football

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Match-up Date
manchester city - arsenal 2024-09-22T15:30:00Z
villarreal - barcelona 2024-09-22T16:30:00Z
pisturko@lemy.lol · 1 pts · 1y (1 reply)

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

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Blaze@sopuli.xyz · 1 pts · 1y (6 replies)

@LiveThreadBot@lemmy.world -football !football@lemmy.world -queue Brentford - Manchester City

Blaze@sopuli.xyz · 2 pts · 1y (4 replies)

@UndercoverUlrikHD@programming.dev you might want to have a look

UndercoverUlrikHD@programming.dev · 2 pts · 1y (1 reply)

The login error seems to have its root issue in a Python Lemmy API library. I've sent a pull request to fix the issue, but it may take a week or two for the maintainer to see it.

If the lemmy.world servers goes down in the meantime the bot will likely fail again, so just tag me again if the bot doesn't respond within 15 minutes.

Blaze@sopuli.xyz · 1 pts · 1y

Great, thanks!

UndercoverUlrikHD@programming.dev · 1 pts · 1y (1 reply)

Thanks for the notifications, was a login error that kept the bot offline. Will look into fixing it.

Blaze@sopuli.xyz · 1 pts · 1y

It seems to be working now, I got messages in the other thread

LiveThreadBot@lemmy.world · 1 pts · 1y

'No live game found, wrong team names?'

Instruction given:

Football Live Thread
Post to: football@lemmy.world
Home team: -queue brentford - Away Team: Manchester city

Please verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.

pisturko@lemy.lol · 1 pts · 1y (3 replies)

@LiveThreadBot@lemmy.world -football -queue

LiveThreadBot@lemmy.world · 1 pts · 1y (2 replies)

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 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -queue -football

LiveThreadBot@lemmy.world · 1 pts · 1y

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
Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Wolves - Manchester City

LiveThreadBot@lemmy.world · 1 pts · 1y

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

pisturko@lemy.lol · 1 pts · 1y
[ removed ]
Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

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

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Sheffield Wednesday - Norwich City

LiveThreadBot@lemmy.world · 1 pts · 1y

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

kameecoding@lemmy.world · 1 pts · 1y

-football Aston Villa - Manchester United

Blaze@sopuli.xyz · 1 pts · 1y

-football Real Sociedad - Real Madrid

pisturko@lemy.lol · 1 pts · 1y (4 replies)

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

Blaze@sopuli.xyz · 1 pts · 1y (2 replies)

Seems like it works now, what did you change?

pisturko@lemy.lol · 2 pts · 1y (1 reply)

TBH, nothing. Just ran the command again :)

Blaze@sopuli.xyz · 2 pts · 1y

Maybe at first the bot didn't know about the community? But anyway, all good now :)

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Match-up Date
trabzonspor - besiktas 2024-09-15T17:00:00Z
Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Cardiff City - Norwich City

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Preston North End - Norwich City

LiveThreadBot@lemmy.world · 1 pts · 1y

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

pisturko@lemy.lol · 1 pts · 1y (1 reply)

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

LiveThreadBot@lemmy.world · 2 pts · 1y

Bot whitelisted for superlig@lemy.lol. The bot can now post live threads in this community without requiring elevated privileges.

Prior_Industry@lemmy.world · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Manchester United - Tottenham Hotspur

LiveThreadBot@lemmy.world · 1 pts · 1y

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

pisturko@lemy.lol · 1 pts · 1y (1 reply)

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

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Match-up Date
trabzonspor - besiktas 2024-09-15T17:00:00Z
pisturko@lemy.lol · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Galatasaray - Caykur Rizespor

LiveThreadBot@lemmy.world · 1 pts · 1y

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

Blaze@sopuli.xyz · 1 pts · 1y (1 reply)

@LiveThreadBot@lemmy.world -football Belgium - France

LiveThreadBot@lemmy.world · 1 pts · 1y

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