Skip to content

Commit 57722a0

Browse files
committed
Dont use sparse
1 parent c39dd15 commit 57722a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ async def setup_indexes(self):
262262
coll = self.db.logs
263263
if 'messages.content_text' not in await coll.index_information():
264264
print('Creating "text" index for "messages.content"')
265-
await coll.create_index([('messages.content', 'text')], sparse=True)
265+
await coll.create_index([('messages.content', 'text')])
266266

267267
async def on_ready(self):
268268
"""Bot startup, sets uptime."""

0 commit comments

Comments
 (0)