diff options
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/status.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/status.js b/commands/status.js index e135113..d3d70a6 100644 --- a/commands/status.js +++ b/commands/status.js @@ -34,6 +34,10 @@ export default { let audioName = audioArray[audioID]; audioName = audioName.split('.').slice(0, -1).join('.'); + if (audioName == null) { + audioName = 'Finish'; + } + const controlEmbed = new MessageEmbed() .setAuthor({ name: `${bot.user.username} Status`, iconURL: bot.user.avatarURL() }) .addField('State', playerState) |
