summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.py b/main.py
index c7f983a..bcc6049 100644
--- a/main.py
+++ b/main.py
@@ -79,7 +79,9 @@ async def search_teammates(server, channel, who, query, notify=True):
"$gte": start,
"$lte": end } },
{ "start": {"$lte": start},
- "end": {"$gte": end}
+ "end": {"$gte": end} },
+ { "start": {"$gte": start},
+ "end": {"$lte": end}
} ] }
for teammate in db.playwithme.find(query):
mention = (await get_user(teammate["player"]))["mention"]