Improve logging and make get_dialogs use iterators more

This commit is contained in:
Tulir Asokan
2019-08-06 19:58:15 +03:00
parent ee08458df1
commit 43d16474c2
5 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ ReplyFunc = Callable[[str], Awaitable[Message]]
class Bot(AbstractUser):
log: logging.Logger = logging.getLogger("mau.bot")
log: logging.Logger = logging.getLogger("mau.user.bot")
mxid_regex: Pattern = re.compile("@.+:.+")
token: str