Skip to content

Instantly share code, notes, and snippets.


Pratyush singh pratyush247

View GitHub Profile
pratyush247 /
Created January 13, 2016 15:50 — forked from ThiefMaster/
Flask-IRC example
from flask.ext.irc import BotModule, CommandAborted
from exodus import login_required, db
auth = BotModule('Auth', __name__)
def addhost(source, channel):
"""Show the URL to connect your host with your account.
This command shows you the URL to associate your hostname with an account.