Begin implementing adding channel limits

This commit is contained in:
2022-08-12 23:32:23 +01:00
parent ddb737fdc6
commit 52f3e8f1b2
3 changed files with 48 additions and 21 deletions

View File

@@ -10,7 +10,6 @@ def construct_query(index, net, channel, src, num, size, nicks=None):
if channel:
extra_must.append({"match": {"channel": channel}})
if nicks:
print("NICKS", nicks)
for nick in nicks:
extra_should2.append({"match": {"nick": nick}})
types = ["msg", "notice", "action", "kick", "topic", "mode"]