Giter Site home page Giter Site logo

jaribio's Introduction

Jaribio

Python code for /u/Jaribio, the bot who runs /r/Jaribio. New version can be found at https://github.com/jarhill0/PrivateSubBot.

Guide to configuration (may not be complete):

  1. set target_sub in the script

  2. place UserList.txt in the directory you plan to run the script from (I run the script from the same directory that I save it in, but you could theoretically run it from somewhere else), and format it as follows:

    name1
    name2
    name3
    

    (list Reddit usernames followed imediately by newlines (no spaces). Make sure the file ends in a newline.

  3. In the directory you plan to run the script from, create a directory named Resources

  4. In Resources, create the following files (each with no spaces or newlines at the end of the file):

  • TotalUserLogs.txt which is an integer that represents the total number of logs already posted.
  • total_re_adds.txt which is an integer that represents the total number of re-adds already performed (0 if none)
  1. In the main directory, create a file named praw.ini that follows the example format:

    [Jaribio]
    client_id=Y4PJOclpDQy3xZ
    client_secret=UkGLTe6oqsMk5nHCJTHLrwgvHpr
    password=pni9ubeht4wd50gk
    username=fakebot1
    
  • username should be the username of the bot
  • password should be the password of the bot
  • client_id and client_secret should be the client id and client secret from the reddit API (instructions here)

I think this should get you up and running, but I'm not positive…

You also need to create a subreddit that your bot is moderator of, with flair css classes for number, numbernew, and kicked

jaribio's People

Contributors

ilayraz avatar jarhill0 avatar

Watchers

 avatar  avatar  avatar

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.