This repository has been archived on 2023-04-13. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
CloudBot/core/permissions.py
2013-10-13 17:32:08 +13:00

18 lines
No EOL
419 B
Python

class PermissionManager(object):
def __init__(self, bot, conn):
self.logger = bot.logger
self.logger.info("Creating permission manager for {}.".format(conn.name))
# stuff
self.bot = bot
self.conn = conn
self.config = conn.config
self.group_perms = {}
self.reload()
def reload(self):
self.logger.error("reload perms stub")
pass