3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 15:15:02 +00:00

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 d0ed8fd4e9
commit 24d7b1ae19

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);