mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Fix local search's issue with bad escapes causing non-local playback (#6223)
This commit is contained in:
parent
a06a704365
commit
3ac2512c14
@ -122,7 +122,7 @@ class LocalTrackUtilities(MixinMeta, metaclass=CompositeMetaClass):
|
|||||||
if percent_match > 85:
|
if percent_match > 85:
|
||||||
search_list.extend(
|
search_list.extend(
|
||||||
[
|
[
|
||||||
discord.utils.escape_markdown(i.to_string_user())
|
i.to_string_user()
|
||||||
for i in to_search
|
for i in to_search
|
||||||
if i.local_track_path is not None
|
if i.local_track_path is not None
|
||||||
and i.local_track_path.name == track_match
|
and i.local_track_path.name == track_match
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user