fixed whitespace
This commit is contained in:
parent
4623475fb5
commit
1d1de40e35
1 changed files with 3 additions and 0 deletions
|
@ -879,6 +879,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
|
||||||
${roles.length > 0 ? "Roles: " + roles.map(r => r.name).join(", ") : ""}
|
${roles.length > 0 ? "Roles: " + roles.map(r => r.name).join(", ") : ""}
|
||||||
`) + embedPadding,
|
`) + embedPadding,
|
||||||
});
|
});
|
||||||
|
|
||||||
const voiceChannel = member.voiceState.channelID ? this.guild.channels.get(member.voiceState.channelID) : null;
|
const voiceChannel = member.voiceState.channelID ? this.guild.channels.get(member.voiceState.channelID) : null;
|
||||||
if (voiceChannel || member.voiceState.mute || member.voiceState.deaf) {
|
if (voiceChannel || member.voiceState.mute || member.voiceState.deaf) {
|
||||||
embed.fields.push({
|
embed.fields.push({
|
||||||
|
@ -896,6 +897,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
|
||||||
name: "!! USER IS NOT ON THE SERVER !!",
|
name: "!! USER IS NOT ON THE SERVER !!",
|
||||||
value: embedPadding,
|
value: embedPadding,
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
const cases = (await this.cases.getByUserId(user.id)).filter(c => !c.is_hidden);
|
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 });
|
msg.channel.createMessage({ embed });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue