fixes to whois cmd
parent
6614986591
commit
b090b5e803
|
@ -65,7 +65,9 @@ export default class Whois extends Command {
|
|||
break;
|
||||
}
|
||||
}
|
||||
embed.addField('Status', `${member.status[0].toUpperCase()}${member.status.slice(1)}`, true);
|
||||
if (member.status) {
|
||||
embed.addField('Status', `${member.status[0].toUpperCase()}${member.status.slice(1)}`, true);
|
||||
}
|
||||
if (member.bot) {
|
||||
embed.addField('Platform', 'API/WebSocket', true);
|
||||
} else if (member.clientStatus?.web === 'online' || member.clientStatus?.web === 'idle' || member.clientStatus?.web === 'dnd') {
|
||||
|
|
Loading…
Reference in New Issue