Merge branch 'dev'
commit
053495aa71
|
@ -34,7 +34,7 @@ export default class Rank extends Command {
|
||||||
if (message.member.roles.includes(rank.roleID)) hasRank = true;
|
if (message.member.roles.includes(rank.roleID)) hasRank = true;
|
||||||
embed.addField(rank.name, `${hasRank ? '*You have this role.*' : ''}__Description:__ ${rank.description}\n__Permissions:__ ${perms}`);
|
embed.addField(rank.name, `${hasRank ? '*You have this role.*' : ''}__Description:__ ${rank.description}\n__Permissions:__ ${perms}`);
|
||||||
}
|
}
|
||||||
embed.setFooter(this.client.user.username, this.client.user.avatarURL);
|
embed.setFooter(`Requested by: ${message.author.username}#${message.author.discriminator} | ${this.client.user.username}`, message.author.username);
|
||||||
embed.setTimestamp();
|
embed.setTimestamp();
|
||||||
return message.channel.createMessage({ embed });
|
return message.channel.createMessage({ embed });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue