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 ~<mod configured> 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.
@LiveThreadBot@sopuli.xyz -football -Levante -Barcelona
Unknown request, please reply with
-helpfor a list of available commands.Reason given:
Unexpected format on request, expected a single spaced out dash separating the two teams.-help
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 ~<mod configured> min before kick-off. For adding women’s games, add the tag-wto 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-wtag.-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 maintainerMod 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-wif the team you want to subscribe to is the women’s team.unsubscribe -{sport} {community@instance} {team}- Unsubscribes the community. Use-wif 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
-football Liverpool - Arsenal
‘No live game found, wrong team names?’
Instruction given:
Football Live Thread Post to: football@sopuli.xyz Home team: Liverpool Away Team: ArsenalPlease verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.
@UndercoverUlrikHD@programming.dev , do you know what happened here? The game is indeed planned for next Sunday
Unknown request, please reply with
-helpfor a list of available commands.Reason given:
No command given.-football NewCastle - Liverpool
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
-football Liverpool - Arsenal
‘No live game found, wrong team names?’
Instruction given:
Football Live Thread Post to: football@sopuli.xyz Home team: Liverpool Away Team: ArsenalPlease verify the team names and maybe check https://www.espn.com/soccer/scoreboard for your requested game.
-football Levante - Barcelona
Request added to the live queue, the Live Thread will be posted ~16min before kick-off.
-queue
Unknown request, please reply with
-helpfor a list of available commands.Reason given:
No arguments were given for queue command.-queue football
Football_game queued up for posting in football@sopuli.xyz: