コード例 #1
0
ファイル: plugin.py プロジェクト: synthomat/pealbot
class Plugin(object):
	# prevents the execution of the next's plugin hook
	LAST = 1

	def __init__(self, context):
		self.d = Debug("[Mod] " + self.__class__.__name__)
		
		self.context = context
		self.d.info("loaded...")

	def before_unload(self):
		pass

	def before_quit(self):
		pass
コード例 #2
0
ファイル: plugin.py プロジェクト: synthomat/pealbot
	def __init__(self, context):
		self.d = Debug("[Mod] " + self.__class__.__name__)
		
		self.context = context
		self.d.info("loaded...")