Fix genre being blank in soundcloud

This commit is contained in:
Daniel Odendahl Jr
2019-03-10 22:13:52 +00:00
parent e4ccaf369a
commit 01364343f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ module.exports = class SoundcloudCommand extends Command {
.setDescription(data.description ? shorten(data.description) : 'No description available.')
.addField(' Artist', `[${data.user.username}](${data.user.permalink_url})`, true)
.addField(' Release Date', moment.utc(new Date(data.created_at)).format('MM/DD/YYYY'), true)
.addField(' Genre', data.genre, true)
.addField(' Genre', data.genre || '???', true)
.addField(' Likes', formatNumber(data.likes_count), true);
return msg.embed(embed);
} catch (err) {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "101.10.0",
"version": "101.10.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {