Esempio n. 1
0
	def onLoad(self, bot):
		Plugin.onLoad(self, bot)
		self._users = bot.getDb().table('users')
		self._userData = {}
		for row in self._users.getAll():
			self._userData[row['mask']] = row
		self._loadUsers()
Esempio n. 2
0
	def onLoad(self, bot):
		Plugin.onLoad(self, bot)
Esempio n. 3
0
	def onLoad(self, bot):
		Plugin.onLoad(self, bot)
		self.dictionary = self.bot.db.table('dictionary')
Esempio n. 4
0
	def onLoad(self, bot):
		Plugin.onLoad(self, bot)
		self._rooms = self.bot.db.table('rooms')
Esempio n. 5
0
	def onLoad(self, bot):
		Plugin.onLoad(self, bot)
		self._table = bot.getDb().table('roleMembers')
		self._refresh()