Skip to content

snakecult/redditbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

redditbot

An IRC bot for posting reddit links

Build from source

mvn clean package

Configuration

Place a file named bot.properties into the same directory as the jar.

bot.server=irc.example.com  # server to connect to
bot.channel=#channel        # channel to join
bot.commandDelimiter=!      # prefix for commands
bot.name=redditbot          # bot will change its name to this
bot.verbose=false           # true for lots of logging

Running

Arch Linux

yaourt redditbot
nano /etc/redditbot/bot.properties
/etc/rc.d/redditbot start

jsvc Daemon

redditbot can be run as a jsvc Daemon.

jsvc -cp redditbot.jar com.rdiablo.bot.BotDaemon

java

java -cp redditbot.jar com.rdiablo.bot.BotDaemon

Command Line Options

-Dbot.config /path/to/bot.properties

Bot Commands

!hot - Get a hot link from reddit !new - Get a new link from reddit !rising - Get a rising link from reddit

About

A Java based IRC bot that posts reddit links

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages