Add lock-handling to FileHelp, add warnings to sethelp
This commit is contained in:
parent
0fb29073b2
commit
b050656319
7 changed files with 377 additions and 187 deletions
|
|
@ -9,7 +9,6 @@ forms of help that do not concern commands, like information about the
|
|||
game world, policy info, rules and similar.
|
||||
|
||||
"""
|
||||
from datetime import datetime
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.db import models
|
||||
from django.urls import reverse
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@ import re
|
|||
|
||||
# these are words that Lunr normally ignores but which we want to find
|
||||
# since we use them (e.g. as command names).
|
||||
# Lunr's default word list is found here:
|
||||
# Lunr's default ignore-word list is found here:
|
||||
# https://github.com/yeraydiazdiaz/lunr.py/blob/master/lunr/stop_word_filter.py
|
||||
_LUNR_STOP_WORD_FILTER_EXCEPTIONS = ("about", "might")
|
||||
_LUNR_STOP_WORD_FILTER_EXCEPTIONS = ("about", "might", "get")
|
||||
|
||||
_LUNR = None
|
||||
_LUNR_EXCEPTION = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue