From 77928b85da10d6963eb6cbe5b90f92c03c050b16 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 19 May 2021 17:46:18 -0400 Subject: [PATCH] Fix --- commands/search/smash-bros.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/smash-bros.js b/commands/search/smash-bros.js index 9be5cd18..999cfe5d 100644 --- a/commands/search/smash-bros.js +++ b/commands/search/smash-bros.js @@ -35,7 +35,7 @@ module.exports = class SmashBrosCommand extends Command { try { const fighters = await this.fetchFighters(); const fighter = fighters.find(fighter => { - const search = this.makeSlug(query); + const search = this.makeSlug(query).replace('_and_', '_&_'); return search === fighter.slug || fighter.alias === search; }); if (!fighter) return msg.say('Could not find any results.');