exports.run = (client, message, [kind, User]) => {
    let guild = message.guild;

    if (kind === "server" && User != null) { return message.reply("You can't ask information about a server and a user at the same time!"); } 

    const embed = new client.methods.Embed()
        .setTimestamp()
        .setAuthor(guild.name, guild.iconURL)
        .setColor("#4d5fd");

    if (kind === "user") { 
        var user = client.funcs.userSearch(client, message, User); 

        if (user.presence.status === "online") { var Status = "Online"; }
        if (user.presence.status === "idle") { var Status = "Idle"; }
        if (user.presence.status === "dnd") { var Status = "Do not Disturb"; }
        if (user.presence.status === "offline") { var Status = "Offline"; } 
        
        embed.setThumbnail(user.avatarURL)
        .addField(`User: `, `${user.tag} - ${user.id}`)
        .addField(`Created: `, user.createdAt.toLocaleString(), true)
        .addField(`Joined: `, message.guild.members.get(user.id).joinedAt.toLocaleString(), true);

        if (user.bot === true) { embed.addField("Bot user:", "True", true); } 
        else { embed.addField("Bot user:", "False", true); }

        if (user.presence.game === null) { embed.addField(`Status: `, Status, true); } 
        else { embed.addField(`Status: `, `${Status} - ${user.presence.game.name}`, true); }
    }

    if (kind === "role") { 
        var role = guild.roles.find("name", User); 
    
        embed.addField("Role:", `${role.name} - ${role.id}`)
        .addField("Position:", role.position, true)
        .addField("Hex Colour:", role.hexColor, true)
        .addField("Users:", role.members.size, true);
    }

    if (kind === "server") {
        embed.setThumbnail(guild.iconURL)
        .addField(`Region: `, guild.region, true)
        .addField(`Created: `, guild.createdAt.toLocaleString(), true)
        .addField(`Owner: `, `${guild.owner.user.tag} - ${guild.owner.id}`)
        .addField(`Members: `, `${guild.memberCount - guild.members.filter(m=>m.user.bot).size} (${guild.members.filter(m=>m.user.bot).size} bots)`, true)
        .addField(`Roles: `, guild.roles.size, true);
    }

    return message.channel.send({embed});
};

exports.conf = {
    enabled: true,
    runIn: ["text"],
    aliases: [],
    permLevel: 0,
    botPerms: [],
    requiredFuncs: [],
};

exports.help = {
  name: "info",
  description: "Get the server or user information.",
  usage: "<server|user|role> [User:str]",
  usageDelim: " ",
  extendedHelp: "",
};

@@ -74,16 +74,39 @@
 e.guild;
+%0A    let Status = null;
 %0A%0A    if
@@ -348,32 +348,34 @@
 e, guild.iconURL
+()
 )%0A        .setCo
@@ -426,19 +426,19 @@
         
-var
+let
  user = 
@@ -527,36 +527,32 @@
  === %22online%22) %7B
- var
  Status = %22Onlin
@@ -599,28 +599,24 @@
 == %22idle%22) %7B
- var
  Status = %22I
@@ -664,28 +664,24 @@
 === %22dnd%22) %7B
- var
  Status = %22D
@@ -747,20 +747,16 @@
 line%22) %7B
- var
  Status 
@@ -821,16 +821,18 @@
 vatarURL
+()
 )%0A      
@@ -847,16 +847,15 @@
 eld(
-%60
+%22
 User:
- %60
+%22
 , %60$
@@ -894,33 +894,33 @@
   .addField(
-%60
+%22
 Created:
  %60, user.cre
@@ -907,18 +907,17 @@
 Created:
- %60
+%22
 , user.c
@@ -971,18 +971,17 @@
 eld(
-%60
+%22
 Joined:
- %60
+%22
 , me
@@ -1215,20 +1215,24 @@
 resence.
-game
+activity
  === nul
@@ -1251,26 +1251,25 @@
 ddField(
-%60
+%22
 Status:
- %60
+%22
 , Status
@@ -1314,18 +1314,17 @@
 eld(
-%60
+%22
 Status:
- %60
+%22
 , %60$
@@ -1354,12 +1354,16 @@
 nce.
-game
+activity
 .nam
@@ -1765,16 +1765,18 @@
 .iconURL
+()
 )%0A      
@@ -1791,18 +1791,17 @@
 eld(
-%60
+%22
 Region:
- %60
+%22
 , gu
@@ -1840,17 +1840,17 @@
 eld(
-%60
+%22
 Created:
  %60, 
@@ -1845,18 +1845,17 @@
 Created:
- %60
+%22
 , guild.
@@ -1910,17 +1910,16 @@
 eld(
-%60
+%22
 Owner:
- %60
+%22
 , %60$
@@ -1985,17 +1985,17 @@
 eld(
-%60
+%22
 Members:
  %60, 
@@ -1990,18 +1990,17 @@
 Members:
- %60
+%22
 , %60$%7Bgui
@@ -2030,34 +2030,36 @@
 members.filter(m
+ 
 =%3E
+ 
 m.user.bot).size
@@ -2141,17 +2141,16 @@
 eld(
-%60
+%22
 Roles:
- %60
+%22
 , gu

Update info.js