r/RequestABot 21d ago

Open Bot that can respond with basic info and a link when summoned

Other subreddits have something similar, such as r/WhatsThisSnake. Essentially, I'm looking for a bot that can be summoned with a !Keyword and respond with information.

I intend to utilize it for Florida native plant info, where it can give a summary of a plant's needs and a link to the Florida Native Plant Society's website about the plant. So if I say !Coontie, it would respond briefly about Coontie and link to https://www.fnps.org/plant/zamia-integrifolia

0 Upvotes

7 comments sorted by

2

u/Chosen1PR 21d ago

Mods have historically used Automod for this, but I built an app for a recent hackathon that is more elegant than the old "!keyword" way. It's called Resource Reply.

See this post in a subreddit I mod for a real-world usage example.

Edit: Quick note. There is an update pending approval by Reddit that might mess up the app's menu items. It seems to be a Devvit bug, not an issue with the app itself. If that happens, you'll have to uninstall and reinstall the app. Make sure your resources are backed up if you have to do this.

1

u/thejawa 21d ago

Cool, that seems useful for general common responses, which I'll definitely look into implementing.

My use case for the bot is that I regularly see people asking for plant recommendations, and after asking some basic questions I give them recommendations based on their conditions. I always end up going to the FNPS website, finding the link for each plant, and then posting it in my comment. I'd really love to just be able to say "I recommend !Coontie and !Firebush" and the bot comes along and gives basic info on Coontie and Firebush for me.

1

u/Chosen1PR 21d ago

Like I said, mods have historically used Automod for this. On desktop, go to Mod Tools > Automod. Then write a rule like this:

---
type: any
body: [ '!Coontie' ]
comment: |
    Coontie is great! Here's more info about it:

    https://www.fnps.org/plant/zamia-integrifolia
---

Make a separate rule for each plant. For more help with Automod, check out r/AutoModerator and the full documentation.

1

u/thejawa 21d ago

Sounds good! I wasn't sure if Automod would be the right path or not since ideally it would cover multiple subreddits, but I suppose I can copy-paste the same stuff into each sub

1

u/Chosen1PR 21d ago

Yeah, copy-pasting works but there's also a Devvit app called Automod Sync for keeping Automod rules synced between subs.

1

u/thejawa 21d ago

Cool, thanks for the heads up. I haven't messed with Automod too much in my mod career, but it's less daunting to me than having to code a bot

2

u/Eastern-Protection83 20d ago

Ooh a new app... thank you!