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

fixed whitespace

This commit is contained in:
roflmaoqwerty 2020-01-11 10:26:47 +11:00
parent 4623475fb5
commit 1d1de40e35

View file

@ -879,6 +879,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
${roles.length > 0 ? "Roles: " + roles.map(r => r.name).join(", ") : ""}
`) + embedPadding,
});
const voiceChannel = member.voiceState.channelID ? this.guild.channels.get(member.voiceState.channelID) : null;
if (voiceChannel || member.voiceState.mute || member.voiceState.deaf) {
embed.fields.push({
@ -896,6 +897,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
name: "!! USER IS NOT ON THE SERVER !!",
value: embedPadding,
});
}
const cases = (await this.cases.getByUserId(user.id)).filter(c => !c.is_hidden);
@ -918,6 +920,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
`),
});
}
msg.channel.createMessage({ embed });
}