I have created a reply bot that I posted earlier. With it, I can create any bot that replies to users’ comments with a set message. It can also get information from the comment and include it in the reply if needed.

The reply bot I made is pretty advanced in terms of what it can detect because it uses PCRE2. For example, I can detect only things that start with something, or only things that have specific characters in specific locations and don’t have other characters before or after.

Does anyone know any bots on Reddit that they may want brought to Lemmygrad (other than parenti bot, that’s already been brought over), or have any other ideas for bots that could be added?

  • Arsen6331 ☭OP
    link
    4
    edit-2
    1 year ago

    So far, I’ve implemented !archive https://example.com, that should be pretty useful, but I am just testing right now, so it may not be running when you try it, at least for now.

    All it takes with my bot is the following config (though I probably will tweak that regex a bit):

    [[reply]]
    regex = '!archive (https?)://([/.\w\d]+)'
    msg = '''
    Here are the archive links you requested:
    
    - [archive.vn](https://archive.vn/${1}://${2})
    - [archive.org](https://web.archive.org/web/${1}://${2})
    '''