utility.avatar: add aliases
This commit is contained in:
parent
a39bffd0df
commit
cde9d119e0
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,9 @@ const avatar = new Command("avatar");
|
|||
avatar.category = "utility";
|
||||
avatar.helpText = "Get avatar of a user";
|
||||
avatar.usage = "<user>";
|
||||
avatar.addAlias("av");
|
||||
avatar.addAlias("avi");
|
||||
avatar.addAlias("pfp");
|
||||
avatar.callback = async function (msg, line, [user], {server, guild}) {
|
||||
let member = msg.member ?? msg.author;
|
||||
const guildObj = msg.channel.guild || hf.bot.guilds.get(msg.guildID);
|
||||
|
|
Loading…
Reference in a new issue