this post was submitted on 08 Jun 2023
81 points (97.6% liked)

Asklemmy

43336 readers
807 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!

  1. Open-ended question
  2. 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.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Hi, I'm learing python and I was thinking about createing Lemmy bot.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

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:

  • {this} looks for anime
  • looks for manga
  • ]this[ looks for light novel
  • |this| looks for visual novel

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:

  • @!fanfic-link-bot ao3 STORYID // looks for STORYID in Archive of Our Own
  • @!animanga-bot ln "story name" // looks for a light novel called "story name"
  • @!units-converter-bot grams "five cups of flour" // converts five cups of flour into grams
  • etc.

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.

[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

on r/fanfiction a link to the bot's info is provided on the sidebar:

Want to link a fic in a comment? Use link bot!

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

[โ€“] [email protected] 3 points 1 year ago

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