parent
ca662aaa2f
commit
e780777adb
|
@ -32,7 +32,7 @@ export default class Game extends Command {
|
||||||
return this.error(message.channel, 'Member not found.');
|
return this.error(message.channel, 'Member not found.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (member.activities.length <= 0) return message.channel.createMessage(`***${this.client.util.emojis.ERROR} Cannot find a game for this member.***`);
|
if (member.activities.length <= 0) return this.error(message.channel, 'Cannot find a game for this member.');
|
||||||
const embed = new RichEmbed();
|
const embed = new RichEmbed();
|
||||||
let mainStatus: Activity;
|
let mainStatus: Activity;
|
||||||
if (member.activities[0].type === ActivityType.CUSTOM_STATUS) {
|
if (member.activities[0].type === ActivityType.CUSTOM_STATUS) {
|
||||||
|
|
Loading…
Reference in New Issue