Merge pull request #10 from IDeletedSystem64/ptb
Update dev branch to the current PTB build
This commit is contained in:
commit
ea1cd55c49
|
@ -24,8 +24,8 @@ module.exports = {
|
|||
|
||||
|
||||
|
||||
const version = ("dev build 421")
|
||||
const release = ("anitrox_dev")
|
||||
const version = ("Public Test Buld 3, Based on dev Build 424")
|
||||
const release = ("anitrox_ptb")
|
||||
const os = require("os")
|
||||
|
||||
const embed = {
|
||||
|
|
|
@ -1,47 +1,37 @@
|
|||
const { User } = require("discord.js");
|
||||
|
||||
module.exports = {
|
||||
|
||||
name: 'userinfo',
|
||||
description: 'Shows information about you or another user.',
|
||||
name: "userinfo",
|
||||
description: "Gets info about an user, such as ID, Discord Join date and more.",
|
||||
execute(client, message, args) {
|
||||
|
||||
const taggedUser = message.mentions.users.first();
|
||||
|
||||
|
||||
//Actual code
|
||||
const embed = {
|
||||
"title": "<:userinfo:793885335498522685> **User Information**",
|
||||
"description": "Everything you've ever wanted to know about **" + taggedUser.username + ("!**"),
|
||||
"color": 11038194,
|
||||
|
||||
"title": "Everything you've ever wanted to know about taggedUser.username!",
|
||||
"color": 172544,
|
||||
"footer": {
|
||||
"icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Anitrox © IDeletedSystem64 2018-2021. All Rights Reserved"
|
||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||
},
|
||||
// This should get the user icon to display as the command thumbnail.
|
||||
"thumbnail": {
|
||||
"url": taggedUser.displayAvatarURL({ dynamic: true })
|
||||
"url": "https://cdn.discordapp.com/embed/avatars/0.png"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "<:userquestion:793984046912110633> **Full Username**",
|
||||
"value": taggedUser.username + ("#") + taggedUser.discriminator
|
||||
"name": "Full Username",
|
||||
"value": taggedUser.tag
|
||||
},
|
||||
{
|
||||
"name": "<:userquestion:793984046912110633> User Status",
|
||||
"value": taggedUser.status,
|
||||
"value": taggedUser.presence
|
||||
"name": "User ID",
|
||||
"value": "``" + taggedUser.id + "``"
|
||||
},
|
||||
{
|
||||
"name": "<:userquestion:793984046912110633> User ID",
|
||||
"value": taggedUser.id
|
||||
},
|
||||
{
|
||||
"name": "<:userquestion:793984046912110633> User Joined Discord",
|
||||
"name": "User Joined Discord",
|
||||
"value": taggedUser.CreatedAt,
|
||||
"inline": true
|
||||
},
|
||||
{
|
||||
"name": "<:userquestion:793984046912110633> User Joined Server",
|
||||
"name": "User Joined Server",
|
||||
"value": "tba",
|
||||
"inline": true
|
||||
}
|
||||
|
@ -49,4 +39,4 @@ module.exports = {
|
|||
};
|
||||
message.channel.send({ embed });
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Reference in New Issue