mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Added configure.
This commit is contained in:
parent
fa3e65d7b1
commit
e5b0cd33a3
@ -47,6 +47,13 @@ import privmsgs
|
|||||||
import ircutils
|
import ircutils
|
||||||
import callbacks
|
import callbacks
|
||||||
|
|
||||||
|
def configure(onStart, afterConnect, advanced):
|
||||||
|
from questions import expect, anything, something, yn
|
||||||
|
nick = anything('What is your registered nick?')
|
||||||
|
password = anything('What is your password for that nick?')
|
||||||
|
onStart.append('load NickServ')
|
||||||
|
onStart.append('startnickserv %s %s' % (nick, password))
|
||||||
|
|
||||||
class NickServ(privmsgs.CapabilityCheckingPrivmsg):
|
class NickServ(privmsgs.CapabilityCheckingPrivmsg):
|
||||||
capability = 'owner'
|
capability = 'owner'
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user