this post was submitted on 20 Aug 2025
7 points (100.0% liked)

Football

356 readers
6 users here now

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] pdqcp@lemmy.dbzer0.com 1 points 6 months ago (1 children)
[–] LiveThreadBot@sopuli.xyz 2 points 6 months ago (1 children)

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 ~ min before kick-off. For adding women's games, add the tag -w to the request. Defaults to football@sopuli.xyz 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. For removing a women's game, add the -w tag.

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

subscribe -{sport} {community@instance} {team} - Subscribes the community to a team, the bot will automatically post new games to the community. Add -w if the team you want to subscribe to is the women's team.

unsubscribe -{sport} {community@instance} {team} - Unsubscribes the community. Use -w if the team you want to unsubscribe from is the women's team.

buffer_time {time in seconds} {community@instance}(optional) - Sets the post buffer time, the time before kick-off the bot will post the live thread.

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

[–] pdqcp@lemmy.dbzer0.com 2 points 6 months ago (1 children)

-football Liverpool - Arsenal

[–] LiveThreadBot@sopuli.xyz 2 points 6 months ago (3 children)

'No live game found, wrong team names?'

Instruction given:

Football Live Thread
Post to: football@sopuli.xyz
Home team: Liverpool
Away Team: Arsenal

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

[–] Blaze@sopuli.xyz 1 points 6 months ago (2 children)

@UndercoverUlrikHD@programming.dev , do you know what happened here? The game is indeed planned for next Sunday

[–] LiveThreadBot@sopuli.xyz 1 points 6 months ago

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

Reason given: No command given.

[–] UndercoverUlrikHD@programming.dev 1 points 6 months ago (1 children)

The bot only checks 7 days ahead, including the current day, so it stops checking after Saturday.

[–] Blaze@piefed.zip 1 points 6 months ago

That makes sense, thank you!

[–] Blaze@piefed.zip 1 points 6 months ago (1 children)

-football NewCastle - Liverpool

[–] LiveThreadBot@sopuli.xyz 1 points 6 months ago

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

[–] Blaze@piefed.zip 1 points 6 months ago (1 children)

-football Liverpool - Arsenal

[–] LiveThreadBot@sopuli.xyz 1 points 6 months ago

'No live game found, wrong team names?'

Instruction given:

Football Live Thread
Post to: football@sopuli.xyz
Home team: Liverpool
Away Team: Arsenal

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