This commit is contained in:
Dragon Fire
2021-05-19 17:46:18 -04:00
parent 4609b99555
commit 77928b85da
+1 -1
View File
@@ -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.');