Giter VIP home page Giter VIP logo

ircr_info_bot's People

Contributors

ansq avatar

Watchers

 avatar  avatar  avatar

ircr_info_bot's Issues

Respond to multiple username mentions

https://www.reddit.com/message/messages/4nt70b

Right now I have:

  • /u/IRCR_Info_Bot (the current one, and the one that would probably respond to all of them)
  • /u/IRCR-Info-Bot
  • /u/IRCR_Info-Bot
  • /u/IRCR-Info_Bot
  • /u/IRCRBot
  • /u/IRCR-Bot
  • /u/IRCR_Bot

(Usernames aren't case sensitive for mentions.)

Edit: Also got /u/IRCR_Info_Bot_ for testing another thing. Probably shouldn't use that for this though.

Database is updated even when comments don't go through

In post_comment(), and maybe CommentScanner.post_reply().

It's been getting a lot of 500, 503, and 504 errors lately. These make comment posting fail, but the finally clause in those functions updates the database anyway. Need to add checks to see if the comment actually got posted.

(Originally, it would retry until it posted without error. Sometimes it would error and still post the comment, leading to massive spam. The current overly-sensitive check fixed that. See #4 (comment))

update praw

Version 2.1.19 of praw is outdated. Version 2.1.21 was released Thursday March 26, 2015.

Configure by wiki page

Remove the config file from the code repository and move it to a subreddit wiki page, much like /u/AutoModerator. The would make it easier to change the settings, make the code a bit more generic, and make the repository ‘safe for work’. (The current config file is pretty nasty. Working on the bot in public has already caused me at least one mildly awkward situation IRL).

No timeline for when this might actually happen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.