mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-09 01:04:16 +02:00
Fix genre being blank in soundcloud
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "101.10.0",
|
||||
"version": "101.10.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user