Open dcsan opened 9 years ago
to explain. currently we search for
Bonfire Exact Change
but we should also look for mentions like:
Exact Change Bonfire
so we could search for something like: /[bonfire]?exact change[bonfire]?/i with some regex magic!
this would probably be patched into the scanWords area in RoomMessages
probably the best way to do this
in the RoomMessages add a section to scan based on all the Bonfire names
get allDashedNames with this method: Bonfires.allDashedNames
bonfire
create a regex to match either BF before or afterin the main help room, if either of these patterns are met, we can show a small help link
try asking in the dedicated bonfire help room
holding off on this for now as it would only be relevant in the main chat, and we already have a keyword search for "bonfire" there.
need to match in this order too: