whois fix
parent
22d7a3d666
commit
47aa29fa93
|
@ -225,7 +225,7 @@ export default class Whois extends Command {
|
|||
if (permissions.length > 0) {
|
||||
embed.addField('Permissions', permissions.join(', '));
|
||||
}
|
||||
if (account.x509 || account.pgp) {
|
||||
if (account?.x509 || account?.pgp) {
|
||||
if (account.x509 && account.pgp) {
|
||||
embed.addField('Credentials', `[PGP](https://comm.libraryofcode.org/keys/~/pgp/${member.id}) | [x509](https://comm.libraryofcode.org/keys/~/x509/${member.id})`);
|
||||
} else if (account.pgp) {
|
||||
|
|
Loading…
Reference in New Issue