diff --git a/cmds/image/baka.js b/cmds/image/baka.js index 1d4b017..b1b8697 100644 --- a/cmds/image/baka.js +++ b/cmds/image/baka.js @@ -17,7 +17,7 @@ module.exports = class baka extends commando.Command { msg.channel.startTyping(); const title = `${msg.guild ? msg.member.displayName : msg.author.username} is getting dere-dere~ =>`; const image = await fetchNeko("baka"); - const emb = defaultImageEmbed(msg, image, title); + const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true })); return trySend(this.client, msg, emb); } }; \ No newline at end of file diff --git a/cmds/image/cry.js b/cmds/image/cry.js index 61c35a2..f688e1e 100644 --- a/cmds/image/cry.js +++ b/cmds/image/cry.js @@ -17,7 +17,7 @@ module.exports = class cry extends commando.Command { msg.channel.startTyping(); const title = `${msg.guild ? msg.member.displayName : msg.author.username} is crying :<`; const image = await fetchNeko("cry"); - const emb = defaultImageEmbed(msg, image, title); + const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true })); return trySend(this.client, msg, emb); } }; \ No newline at end of file diff --git a/cmds/image/dance.js b/cmds/image/dance.js index 692fd77..4040df0 100644 --- a/cmds/image/dance.js +++ b/cmds/image/dance.js @@ -17,7 +17,7 @@ module.exports = class dance extends commando.Command { msg.channel.startTyping(); const title = `${msg.guild ? msg.member.displayName : msg.author.username} is dancin :>`; const image = await fetchNeko("dance"); - const emb = defaultImageEmbed(msg, image, title); + const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true })); return trySend(this.client, msg, emb); } }; \ No newline at end of file diff --git a/cmds/image/laugh.js b/cmds/image/laugh.js index 8dce22d..30fcf41 100644 --- a/cmds/image/laugh.js +++ b/cmds/image/laugh.js @@ -17,7 +17,7 @@ module.exports = class laugh extends commando.Command { msg.channel.startTyping(); const title = `${msg.guild ? msg.member.displayName : msg.author.username} is laughin XD`; const image = await fetchNeko("laugh"); - const emb = defaultImageEmbed(msg, image, title); + const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true })); return trySend(this.client, msg, emb); } }; \ No newline at end of file diff --git a/cmds/image/neko.js b/cmds/image/neko.js index bac9a38..a7c08dc 100644 --- a/cmds/image/neko.js +++ b/cmds/image/neko.js @@ -17,7 +17,7 @@ module.exports = class neko extends commando.Command { msg.channel.startTyping(); const title = `${msg.guild ? msg.member.displayName : msg.author.username} ~Nyann~ (UwU) <3`; const image = await fetchNeko("nekos"); - const emb = defaultImageEmbed(msg, image, title); + const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true })); return trySend(this.client, msg, emb); } }; \ No newline at end of file diff --git a/cmds/image/smile.js b/cmds/image/smile.js index f055ac5..783cb21 100644 --- a/cmds/image/smile.js +++ b/cmds/image/smile.js @@ -17,7 +17,7 @@ module.exports = class smile extends commando.Command { msg.channel.startTyping(); const title = `${msg.guild ? msg.member.displayName : msg.author.username} is smilin :D`; const image = await fetchNeko("smile"); - const emb = defaultImageEmbed(msg, image, title); + const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true })); return trySend(this.client, msg, emb); } }; \ No newline at end of file diff --git a/cmds/image/smug.js b/cmds/image/smug.js index 86b1b61..e2751b3 100644 --- a/cmds/image/smug.js +++ b/cmds/image/smug.js @@ -17,7 +17,7 @@ module.exports = class smug extends commando.Command { msg.channel.startTyping(); const title = `${msg.guild ? msg.member.displayName : msg.author.username} got a smug face >:]`; const image = await fetchNeko("smug"); - const emb = defaultImageEmbed(msg, image, title); + const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true })); return trySend(this.client, msg, emb); } }; \ No newline at end of file diff --git a/cmds/image/wave.js b/cmds/image/wave.js index 5ba234a..3fb803c 100644 --- a/cmds/image/wave.js +++ b/cmds/image/wave.js @@ -17,7 +17,7 @@ module.exports = class wave extends commando.Command { msg.channel.startTyping(); const title = `${msg.guild ? msg.member.displayName : msg.author.username} is waving :)`; const image = await fetchNeko("wave"); - const emb = defaultImageEmbed(msg, image, title); + const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true })); return trySend(this.client, msg, emb); } }; \ No newline at end of file diff --git a/cmds/profile/profile.js b/cmds/profile/profile.js index ec1225f..a67a47c 100644 --- a/cmds/profile/profile.js +++ b/cmds/profile/profile.js @@ -31,9 +31,7 @@ module.exports = class profile extends commando.Command { .setThumbnail(TM.displayAvatarURL({ format: "png", size: 4096, dynamic: true })) .addField("Registered", TM.createdAt.toUTCString().slice(0, -4), true) .addField("ID", TM.id, true); - if (TM.description) { - emb.setDescription(TM.description); - } + if (TM.description) emb.setDescription(TM.description); if (MEM) { const RI = MEM.roles.cache.sort((a, b) => b.position - a.position).map(r => r.id).slice(0, -1), RFS = splitOnLength(RI, 1010, ">, <@&"); diff --git a/cmds/utility/translate.js b/cmds/utility/translate.js index 4132e45..3664f65 100644 --- a/cmds/utility/translate.js +++ b/cmds/utility/translate.js @@ -33,7 +33,7 @@ module.exports = class translate extends commando.Command { memberName: "translate", group: "utility", description: "Translate some alien languages.", - details: "Supported languages:\n" + + details: "**Supported languages:**\n" + `\`en\` English\n` + `\`ar\` Arabic\n` + `\`zh\` Chinese\n` +