25 lines
483 B
Python
25 lines
483 B
Python
# This is a simple test plugin, to make sure everything is working
|
|
|
|
__author__="bjschuma"
|
|
__date__ ="$Dec 7, 2009 9:12:00 AM$"
|
|
|
|
|
|
|
|
from bt import plugin
|
|
from bt.message import write
|
|
|
|
|
|
class Plugin(plugin.Plugin):
|
|
def __init__(self):
|
|
plugin.Plugin.__init__(self)
|
|
self.help = "An example plugin."
|
|
|
|
|
|
def open(self):
|
|
write("Example plugin has been started",True)
|
|
#write("Example plugin has been changed",True)
|
|
|
|
|
|
def close(self):
|
|
write("Example plugin has been stopped",True)
|