Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (8 sloc) 350 Bytes
def message(pryme, message, source, target):
if source in pryme.adminNick:
if pryme.nick in message.pop(0):
if "addmodule" in message.pop(0):
moduleName = message.pop(0)
print 'Importing ' + moduleName
module = __import__(moduleName)
pryme.modules.append(module)