Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/l/a/lala-0.3/lala/plugins/base.py   lala(Download)
def quit(user, channel, text):
    logging.debug("Quitting")
    util._BOT.quit("leaving")
    reactor.stop()
 
@command(admin_only=True)
def reconnect(user, channel, text):
    logging.debug("Reconnecting")
    util._BOT.quit("leaving")