From 37b62a02036ad5ef54ca6844dd1f22cf71269333 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 14 Jun 2020 21:29:19 -0400 Subject: [PATCH] Fix --- commands/voice/soundboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/voice/soundboard.js b/commands/voice/soundboard.js index 0054e5c6..e068a48a 100644 --- a/commands/voice/soundboard.js +++ b/commands/voice/soundboard.js @@ -56,7 +56,7 @@ module.exports = class SoundboardCommand extends Command { if (sounds.includes(choice)) return true; return `You provided an invalid sound. Please choose either ${list(sounds, 'or')}.`; }, - parse: sound => `${sound.toLowerCase()}.mp3` + parse: sound => `${sound.toLowerCase().replace(/ /g, '-')}.mp3` } ] });