Skip to content

pykancha/reddit-bots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Bots: Bots deployed on R/NEPAL sub

These bots are scripts written in python programming language. They use praw, a python library for accessing reddit API.

Any kind of contribution: be it suggestions for improving replies, documentation, code imporovement, outlining issues etc are welcomed. For code changes please file a issue for respective bot outlining what you intend to do.

Every components of code is freely licensed for you to modify and use it however you like.

Reddit Election Bot 2079

Python bot written with Praw, to update an submission with latest election count results. The scraping part is now decoupled and is written in Go. This is python client to communicate with reddit. This bot fetches and filters the data from API.

[INACTIVE] News TLDR Bot: link_guru

What it does:

  1. Scans the subreddit and finds any linked news articles.
  2. Gets its summary and translation if its nepali.
  3. From the english translation derive its summary using SMMRY API
  4. This is then posted as reply to the respective submissions

The bot uses custom fork of newspaper/newspaper3k python library for news extraction.

Similarly, it uses googletrans python library for translation of news and translate python module as fallback translator.

The summary is powered by SMMRY.

This bot runs every 15 minutes and scans the top 20 posts of 'hot', 'new' section of subreddit.

You can view issues starting with lable Link Guru for issues regarding this bot.

[INACTIVE] Emoji Bot

The infamous bot that used to reply to any emoji comment from a reddit user with song lyrics

It had emoji dictionary from emoji database and pre written song lyrics for each emotions which it randomly sampled and commented.

About

Bots deployed on subreddit r/nepal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages