Add files via upload
This commit is contained in:
parent
b526407488
commit
a7494a74ea
|
@ -4,26 +4,23 @@ module.exports = {
|
||||||
description: "Gets info about an user, such as ID, Discord Join date and more.",
|
description: "Gets info about an user, such as ID, Discord Join date and more.",
|
||||||
execute(client, message, args) {
|
execute(client, message, args) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const user = message.mentions.users.first();
|
const user = message.mentions.users.first();
|
||||||
for (var i=0;i<user.presence.activities.length;i) {
|
|
||||||
if (activity.type == "CUSTOM_STATUS")
|
|
||||||
activity.name + activity.state
|
|
||||||
else
|
|
||||||
activity.type + activity.name
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var i=0;i<user.presence.activities.length;i
|
var i=0;i<user.presence.activities.length;i
|
||||||
var o=0;o<user.presence.activities.length;o++
|
|
||||||
const activity = user.presence.activities[i];
|
const activity = user.presence.activities[i];
|
||||||
const playing = user.presence.activities[o];
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const embed = {
|
const embed = {
|
||||||
"title": "Everything you've ever wanted to know about " + user.username + "!",
|
"title": "Everything you've ever wanted to know about " + user.username + "!",
|
||||||
"color": 172544,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||||
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||||
|
@ -33,21 +30,22 @@ module.exports = {
|
||||||
"url": user.displayAvatarURL()
|
"url": user.displayAvatarURL()
|
||||||
},
|
},
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
|
||||||
"name": "Attention",
|
|
||||||
"value": "This command isn't yet finished, More info will be added soon!"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Full Username",
|
"name": "Full Username",
|
||||||
"value": user.tag
|
"value": user.tag
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "User Profile Picture",
|
||||||
|
"value": user.displayAvatarURL()
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "User Presence",
|
"name": "User Presence",
|
||||||
value: user.presence.status
|
value: user.presence.status
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "User Status",
|
"name": "Custom Status",
|
||||||
value: activity.state + " " + playing.name
|
value: activity.state
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "User ID",
|
"name": "User ID",
|
||||||
|
|
Reference in New Issue