mchangrh/sb-slash

Lookup Segments message-command doesn't return all segments

Closed this issue · 1 comments

Looks like the current implementation of the Lookup Segments message-command uses getSkipSegments(), which returns a random non-ignored segment in case of overlapping segments with the same category (basically the same as the extension).

I think using getSearchSegments() instead to show all segment versions would prove useful in situations like requests in the #incorrect-submissions channel, where there may be multiple versions of the same segment, some incorrect.
The implementation could just be copied from commands/searchsegments.js

works great!