mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
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(", ") : ""}
|
||||
`) + 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 });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue