acalejos / Feature_Bot

IRC Chat Bot Made Using the Pircbot Java Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

IRC Chat Bot Made Using the Pircbot Java Framework

How to Build:

  • Download code
  • Install Gradle if not installed
  • From command line:
    • navigate to directory with the gradlew file (this is the Gradle wrapper)
    • Run ./gradlew build (this will build/compile the code)
    • Run ./gradlew run (this will start the bot)

How to Use:

  • Download an IRC client
    • I used mIRC, which gives you a free 30 day trial
  • Within the PU_BotMain.java file:
    • Change line 15 (bot.connect) to your desired IRC server
    • change line 24 (bot.joinChannel) to your desired channel
  • You can change the bot's nickname at line 44 of PU_Bot.java
  • Rebuild and rerun the code if you make any changes
  • From the IRC client, join the channel that you set your bot to join to use/test it

Bot Commands

  • |help -- Displays help message
  • |time -- Displays current time
  • |translate [desired language]: [string] -- Translates string into designated desired language
  • |detect [string] -- Detects the language of the input string
  • |wiki: [topic] -- Gives a summary of the topic from Wikipedia, along with a link to the full article
  • |news -- Lists the current top 5 news story headlines along with links to full articles from Reuter's website

Demo

About

IRC Chat Bot Made Using the Pircbot Java Framework


Languages

Language:Java 100.0%