Skip to content

Instantly share code, notes, and snippets.

@KamilaBorowska
Created March 9, 2012 15:59
Show Gist options
  • Save KamilaBorowska/2007238 to your computer and use it in GitHub Desktop.
Save KamilaBorowska/2007238 to your computer and use it in GitHub Desktop.
Configuration?
# List of plugins
Plugins = [
'eightball'
]
# Servers configuration
exports.config =
Freenode:
Type: 'IRC'
Host: 'irc.freenode.net'
Channels: [
# Normal channel
'#botters'
# Channel with specific configuration
'#yibot':
Prefix: ','
Plugins: [
Plugins...
'math'
]
]
# Used in case variable doesn't exist.
exports.globals =
IRC:
Port: 6667
Nick: 'YIBotClone'
User: 'yibot'
Realname: 'My real name'
Plugins: Plugins
Owner: /^glitchmr@.*[.]adsl[.]inetia[.]pl$/
ReactOnInvite: 'Invited by %s.'
# May be RegExp too if you remember to start it with ^ character!
Prefix: '@'
Shell:
Plugins: Plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment