Clarify when a user is not on the server in !info

This commit is contained in:
Dragory 2019-05-02 18:53:32 +03:00
parent 6f0e8bb76e
commit f7ecdfe896

View file

@ -532,6 +532,11 @@ export class UtilityPlugin extends ZeppelinPlugin<IUtilityPluginConfig> {
`) + embedPadding,
});
}
} else {
embed.fields.push({
name: "!! USER IS NOT ON THE SERVER !!",
value: embedPadding,
});
}
const cases = (await this.cases.getByUserId(user.id)).filter(c => !c.is_hidden);