even mOre debugging
This commit is contained in:
parent
602ff5502b
commit
3345ef89ec
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ class InfoModule(niobot.Module):
|
||||||
matches: list[tuple[niobot.MatrixRoom, float]] = []
|
matches: list[tuple[niobot.MatrixRoom, float]] = []
|
||||||
for room_id, room_obj in ctx.bot.rooms.items():
|
for room_id, room_obj in ctx.bot.rooms.items():
|
||||||
if ctx.event.sender not in room_obj.users:
|
if ctx.event.sender not in room_obj.users:
|
||||||
|
self.log.debug("%r is not in %r", ctx.event.sender, room_id)
|
||||||
continue
|
continue
|
||||||
ratio = fuzz.ratio(room, room_obj.display_name)
|
ratio = fuzz.ratio(room, room_obj.display_name)
|
||||||
self.log.debug("Ratio for %r: %r", room_obj.display_name, ratio)
|
self.log.debug("Ratio for %r: %r", room_obj.display_name, ratio)
|
||||||
|
|
Loading…
Reference in a new issue