An IRC bot for posting reddit links
mvn clean package
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
yaourt redditbot
nano /etc/redditbot/bot.properties
/etc/rc.d/redditbot start
redditbot can be run as a jsvc Daemon.
jsvc -cp redditbot.jar com.rdiablo.bot.BotDaemon
java -cp redditbot.jar com.rdiablo.bot.BotDaemon
-Dbot.config /path/to/bot.properties
!hot - Get a hot link from reddit !new - Get a new link from reddit !rising - Get a rising link from reddit