mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Brought up-to-date with current plugin template.
This commit is contained in:
parent
f4a057cf4b
commit
740acc5d08
@ -38,6 +38,7 @@ from baseplugin import *
|
|||||||
|
|
||||||
import sqlite
|
import sqlite
|
||||||
|
|
||||||
|
import utils
|
||||||
import privmsgs
|
import privmsgs
|
||||||
import callbacks
|
import callbacks
|
||||||
|
|
||||||
@ -50,6 +51,10 @@ def configure(onStart, afterConnect, advanced):
|
|||||||
from questions import expect, anything, something, yn
|
from questions import expect, anything, something, yn
|
||||||
onStart.append('load News')
|
onStart.append('load News')
|
||||||
|
|
||||||
|
example = utils.wrapLines("""
|
||||||
|
|
||||||
|
""")
|
||||||
|
|
||||||
class News(callbacks.Privmsg, ChannelDBHandler):
|
class News(callbacks.Privmsg, ChannelDBHandler):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
ChannelDBHandler.__init__(self)
|
ChannelDBHandler.__init__(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user