Merge branch 'dev'

merge-requests/13/head
Matthew 2020-07-06 03:47:46 -04:00
commit 3927b3c50f
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export default class Rank extends Command {
} }
let hasRank = false; let hasRank = false;
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.*\n' : ''}__Description:__ ${rank.description}\n__Permissions:__ ${perms}`);
} }
embed.setFooter(`Requested by: ${message.author.username}#${message.author.discriminator} | ${this.client.user.username}`, message.author.avatarURL); embed.setFooter(`Requested by: ${message.author.username}#${message.author.discriminator} | ${this.client.user.username}`, message.author.avatarURL);
embed.setTimestamp(); embed.setTimestamp();