mirror of
https://github.com/danbulant/Shasha
synced 2026-06-18 22:01:17 +00:00
author icon + translate
This commit is contained in:
parent
cd3985547c
commit
38af1b3e7c
10 changed files with 10 additions and 12 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
@ -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, ">, <@&");
|
||||
|
|
|
|||
|
|
@ -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` +
|
||||
|
|
|
|||
Loading…
Reference in a new issue