This commit is contained in:
Tim Windelschmidt 2015-11-13 20:56:07 +01:00
parent b397e9deca
commit 8b46849695
2 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,8 @@
### ###
# Copyright (c) 2015, fionera # Copyright (c) 2011, Fuck You
# All rights reserved. # All rights reserved.
#
#
### ###
import supybot.conf as conf import supybot.conf as conf
@ -16,5 +18,8 @@ def configure(advanced):
Lampel = conf.registerPlugin('Lampel') Lampel = conf.registerPlugin('Lampel')
# This is where your configuration variables (if any) should go. For example:
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: conf.registerGlobalValue(Lampel, 'host',
registry.String("lampel.raum.ctdo.de", """Host of Lampel"""))
conf.registerGlobalValue(Lampel, 'port',
registry.Integer(2701, """Port number of Lampel"""))

View File

@ -12,7 +12,7 @@ import supybot.plugins as plugins
import supybot.ircutils as ircutils import supybot.ircutils as ircutils
import supybot.callbacks as callbacks import supybot.callbacks as callbacks
import supybot.ircmsgs as ircmsgs import supybot.ircmsgs as ircmsgs
import lampel import ampel
import random import random
import time import time
class Lampel(callbacks.Plugin): class Lampel(callbacks.Plugin):