this post was submitted on 08 Jun 2023
36 points (97.4% liked)
Asklemmy
44276 readers
655 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'll reply first on more general grounds. In my opinion, bots...
Now, actually answering your question:
r/fanfiction and r/HPfanfiction have a fanfic link summary bot. you do linkffn(STORYID) or linkao3(STORYID) and it posts a summary. was useful.
I would have never guessed how to request the bot, if you didn't show it. That's another reason why I think that there should be a standard way to request bots, it increases discoverability. For contrast, Roboragi:
You probably wouldn't guess it from the fanfic link summary bot either.
I think that a simple common syntax that could be used is @!bot-name [options] ["]data to process["], at least when users are requesting it regardless of community. It's hard to hit it by accident, but still easy to type, and flexible enough to allow multiple bots to follow it. So for example:
Then if community moderators are allowed to call bots to perform functions automatically, without the user requesting them, they could also set up synonyms as shorthands. for example people in c/fanfiction could simply type "ffao3 STORYID" instead, less keystrokes for the same result.
on r/fanfiction a link to the bot's info is provided on the sidebar:
https://github.com/FanfictionBot/reddit-ffn-bot/wiki/Usage
But I 100% agree that something more standard would be called for for something more multi-purpose
And you made me realise something: why the hell are the FanfictionBot, roboragi, wiki linking bot and the likes different bots, if they perform the same underlying task (provide link and summary)? We could have one bot to rule them all.
(Sadly I know why. Because Reddit never bothered to provide users with functionality. So they developed this functionality in parallel, wasting their development time with unnecessary redundancy.)
GNU units to the rescue! https://www.gnu.org/software/units/
...wow.
I just installed it. I was expecting something like "ah, it knows that a cup should be a certain amount of mililitres, but what if I ask it in grams? Then I put "1 cup sugar", "grams"... and it returned 200g. It couldn't find flour so I used butter, 226g. It works!
Checking /usr/share/units/definitions.units, the devs had the insight to add a lot of cooking stuff to it. Also a way to define your own units. The syntax is an arse but I guess that the bot could handle it.
This would be great as the "guts" of a really good conversion bot.
I was thinking of running an instance which houses just bots. In theory, that'd make it easy to have an easy to remember URL and usernames, like [email protected] or something. If I can get a URL that makes sense I might consider something like this. It'd keep it small enough to call, and make sure they're always 100% intentional.
This is mainly because I don't want to be a source of annoyance for anyone, and I've seen too many people annoyed at the "natural response" bots that pop in all the time on reddit.
If they're on their own instance, a whole instance can block that instance if they don't want bots, or block specific bots if they prefer.
mastodon already has botsin.space, depending on how well lemmy & masto interoperate (in theory they'll be fine because AP, but these kinda things tend to mess up in practice. lemmy still doesn't do authorized fetch afaik) hosting bots there & calling them from lemmy should work.
Thanks for the link, looks like they had the same idea.