this post was submitted on 06 Jul 2024
1 points (100.0% liked)
Testing Zone
17 readers
1 users here now
A zone to test posts and comments in the instance
Hidden from the feeds in the instance by default. Subscribe to the community to see posts in it
If youre an instance owner and this is showing up on your feed I can show you how to hide it or you can delete it if you want
founded 11 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
-football Norway - Kazakhstan
Request added to the live queue, the Live Thread will be posted ~16.0 min before kick-off.
-remove - football [email protected] Norway - Austria
Unknown request, please reply with
-help
for a list of available commands. Reason given:No sport found in request.
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 [email protected] 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 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.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
-remove -football [email protected] Norway - Austria
Game removed from live queue.
-queue -football [email protected]
Football_game queued up for posting in [email protected]:
Match-up | Date
|
kazakhstan - norway | 2024-09-06T14:00:00Z
-queue - football [email protected]
Unknown request, please reply with
-help
for a list of available commands. Reason given:Sport
-is unknown.
-queue -football [email protected]
Football_game queued up for posting in [email protected]:
Match-up | Date
|
kazakhstan - norway | 2024-09-06T14:00:00Z norway - austria | 2024-09-09T18:45:00Z