#! /usr/bin/env python import sys import pybot pybot.run(sys.argv[1:])
# botty.py -- pybot usage example. import pybot sp = ' ' endl = '\r\n' pybot.name = 'botty3' pybot.owner = 'theiostream' pybot.prefix = '@' pybot.server = 'irc.evilpengu.in' pybot.channels = ['#talk', '#fr0st'] pybot.notAllowHarmful = 1 pybot.allowedHarmfulFor = ['botty-tester'] pybot.ignoredByBot = ['botty-tester-fail'] # remember nspass! pybot.connect() while True: pybot.run()
#!/usr/bin/python -W ignore # Run PyBot import config import pybot pybot.run(config) # vim:tabstop=4:expandtab