mirror of
https://github.com/danbulant/Shasha
synced 2026-06-20 23:01:39 +00:00
fix typo
This commit is contained in:
parent
a601eaa344
commit
68835c4c31
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ module.exports = async (memberold, membernew) => {
|
|||
console.log; // BREAKPOINT
|
||||
} else emb.setDescription("Unknown reason" + (emb.description ? "\n\n" + emb.description : ""));
|
||||
};
|
||||
if (emb.length < 2) return;
|
||||
if (emb.fields.length < 2) return;
|
||||
if (audit.executor && audit.executor?.id !== membernew.user.id) {
|
||||
emb.addField("Moderator", `<@${audit.executor.id}>\n(${audit.executor.id})`, true);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue