from .db import Data as ChoreData
logger = logging.getLogger(__name__)
-logging.basicConfig(filename='matrix-chore-bot.log', encoding='utf-8', level=logging.DEBUG)
logging.getLogger('nio').setLevel(logging.WARNING)
class ChoreBot():
db_file=None,
bot_prefix='!chore'):
+ logging.basicConfig(filename='matrix-chore-bot.log', encoding='utf-8', level=logging.DEBUG)
+
+
creds = botlib.Creds(matrix_server, bot_name, bot_pwd)
self.bot = botlib.Bot(creds)
self.prefix = bot_prefix