Skip to content

Latest commit

 

History

History
executable file
·
40 lines (30 loc) · 800 Bytes

README.md

File metadata and controls

executable file
·
40 lines (30 loc) · 800 Bytes

SMF Bot

IRC bot engine build for #smf.sh and related channels, quite similar to cinchize.

Example

Gemfile:

source "https://rubygems.org"
#ruby=1.9.3
#ruby-gemset=cinch
gem "cinch-identify"
gem "cinch-yaml-memo"
gem "cinch-url-scraper"

config.yaml:

---
connection:
  :server: irc.freenode.net
  :port: 6667
  :nick: user
  :delay_joins: :identified
  :channels:
    - "#my-test-channel"
plugins:
  "Cinch::Plugins::Identify":
    :type: :nickserv
    :username: "user"
    :password: "password-file-to-read"
  "Cinch::Plugins::YamlMemo":
  "Cinch::Plugins::UrlScraper":

and run:

smfbot

Backup

Do not forget to backup directory in which bot is running.