mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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`
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user