commit
32ffda0e8b
|
@ -24,7 +24,7 @@ module.exports = {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const version = ("Public Test Buld 3, Based on dev Build 424")
|
const version = ("Public Test Buld 4, Based on dev Build 429")
|
||||||
const release = ("anitrox_ptb")
|
const release = ("anitrox_ptb")
|
||||||
const os = require("os")
|
const os = require("os")
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
name: 'restart',
|
||||||
|
description: '(Owner Only) Shuts down the bot.',
|
||||||
|
execute(client, message, args) {
|
||||||
|
const token=("<token>")
|
||||||
|
if (message.author.id == 309427567004483586) {
|
||||||
|
message.channel.send("<a:NyabotWorking:697147309531594843> Restarting...").then
|
||||||
|
client.destroy()
|
||||||
|
.catch(console.error)
|
||||||
|
.then
|
||||||
|
client.login(token);
|
||||||
|
message.channel.send("<:NyabotSuccess:697211376740859914> Restart Successful")
|
||||||
|
} else {
|
||||||
|
message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command.");
|
||||||
|
}
|
||||||
|
}}
|
|
@ -1,38 +1,91 @@
|
||||||
module.exports = {
|
const { User } = require("discord.js");
|
||||||
|
|
||||||
name: "userinfo",
|
|
||||||
description: "Gets info about an user, such as ID, Discord Join date and more.",
|
module.exports = {
|
||||||
execute(client, message, args) {
|
|
||||||
|
name: 'userinfo',
|
||||||
const taggedUser = message.mentions.users.first();
|
description: 'Shows information about you or another user.',
|
||||||
const embed = {
|
execute(client, message, args) {
|
||||||
"title": "Everything you've ever wanted to know about " + taggedUser.username + "!",
|
const taggedUser = message.mentions.users.first();
|
||||||
"color": 172544,
|
|
||||||
"footer": {
|
|
||||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
//Actual code
|
||||||
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
const embed = {
|
||||||
},
|
"title": "<:userinfo:793885335498522685> **User Information**",
|
||||||
|
"description": "Everything you've ever wanted to know about **" + taggedUser.username + ("!**"),
|
||||||
"thumbnail": {
|
"color": 11038194,
|
||||||
"url": "https://cdn.discordapp.com/embed/avatars/0.png"
|
|
||||||
},
|
"footer": {
|
||||||
"fields": [
|
"icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||||
{
|
"text": "Anitrox © IDeletedSystem64 2018-2021. All Rights Reserved"
|
||||||
"name": "Full Username",
|
},
|
||||||
"value": taggedUser.tag
|
"thumbnail": {
|
||||||
},
|
"url": taggedUser.displayAvatarURL({ dynamic: true })
|
||||||
{
|
},
|
||||||
"name": "User ID",
|
"fields": [
|
||||||
"value": "``" + taggedUser.id + "``"
|
{
|
||||||
},
|
"name": "<:userquestion:793984046912110633> **Full Username**",
|
||||||
{
|
"value": taggedUser.username + ("#") + taggedUser.discriminator
|
||||||
"name": "User Joined Discord",
|
},
|
||||||
"value": "This will be added in a future release",
|
{
|
||||||
inline: true
|
"name": "<:userquestion:793984046912110633> User Status",
|
||||||
},
|
"value": taggedUser.status,
|
||||||
|
"value": taggedUser.presence
|
||||||
]
|
},
|
||||||
};
|
{
|
||||||
message.channel.send({ embed: embed });
|
"name": "<:userquestion:793984046912110633> User ID",
|
||||||
}
|
"value": taggedUser.id
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"name": "<:userquestion:793984046912110633> User Joined Discord",
|
||||||
|
"value": taggedUser.CreatedAt,
|
||||||
|
"inline": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "<:userquestion:793984046912110633> User Joined Server",
|
||||||
|
"value": "tba",
|
||||||
|
"inline": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
};
|
||||||
|
message.channel.send({ embed });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
=======
|
||||||
|
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();
|
||||||
|
const embed = {
|
||||||
|
"title": "Everything you've ever wanted to know about " + taggedUser.username + "!",
|
||||||
|
"color": 172544,
|
||||||
|
"footer": {
|
||||||
|
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||||
|
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||||
|
},
|
||||||
|
|
||||||
|
"thumbnail": {
|
||||||
|
"url": "https://cdn.discordapp.com/embed/avatars/0.png"
|
||||||
|
},
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"name": "Full Username",
|
||||||
|
"value": taggedUser.tag
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "User ID",
|
||||||
|
"value": "``" + taggedUser.id + "``"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "User Joined Discord",
|
||||||
|
"value": "This will be added in a future release",
|
||||||
|
inline: true
|
||||||
|
},
|
||||||
|
|
||||||
|
]
|
||||||
|
};
|
||||||
|
message.channel.send({ embed: embed });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue