From f92f27477481fea847815b42822a3bcaa2035d5e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 29 Nov 2020 10:34:10 -0500 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 555e4fc1..c122cc1b 100644 --- a/commands/voice/soundboard.js +++ b/commands/voice/soundboard.js @@ -2,7 +2,7 @@ const Command = require('../../structures/Command'); const path = require('path'); const { list, reactIfAble } = require('../../util/Util'); const sounds = require('../../assets/json/soundboard'); -const soundsChoice = sounds.map(sound => sound[sounds.length - 1].replace(/\.mp3$/, '')); +const soundsChoice = sounds.map(sound => sound[sound.length - 1].replace(/\.mp3$/, '')); module.exports = class SoundboardCommand extends Command { constructor(client) {