mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 13:56:43 +02:00
Dan is still stupid
This commit is contained in:
@@ -38,8 +38,6 @@ module.exports = class TwitterCommand extends Command {
|
|||||||
.setURL(`https://twitter.com/${body.screen_name}`)
|
.setURL(`https://twitter.com/${body.screen_name}`)
|
||||||
.setTitle(`${body.name} (@${body.screen_name})`)
|
.setTitle(`${body.name} (@${body.screen_name})`)
|
||||||
.setDescription(body.description)
|
.setDescription(body.description)
|
||||||
.addField('❯ ID',
|
|
||||||
body.id, true)
|
|
||||||
.addField('❯ Tweets',
|
.addField('❯ Tweets',
|
||||||
body.statuses_count, true)
|
body.statuses_count, true)
|
||||||
.addField('❯ Followers',
|
.addField('❯ Followers',
|
||||||
@@ -51,7 +49,7 @@ module.exports = class TwitterCommand extends Command {
|
|||||||
.addField('❯ Verified?',
|
.addField('❯ Verified?',
|
||||||
body.verified ? 'Yes' : 'No', true)
|
body.verified ? 'Yes' : 'No', true)
|
||||||
.addField('❯ Created',
|
.addField('❯ Created',
|
||||||
new Date(body.creation_date).toDateString(), true)
|
new Date(body.created_at).toDateString(), true)
|
||||||
.addField('❯ Latest Tweet',
|
.addField('❯ Latest Tweet',
|
||||||
body.status ? body.status.text : 'None');
|
body.status ? body.status.text : 'None');
|
||||||
return msg.embed(embed);
|
return msg.embed(embed);
|
||||||
|
|||||||
Reference in New Issue
Block a user