mirror of
https://github.com/danbulant/Shasha
synced 2026-06-17 13:21:09 +00:00
fix error
This commit is contained in:
parent
9abe0224ac
commit
471eef82e2
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ module.exports = async (memberold, membernew) => {
|
|||
emb.setTitle("Profile `" + memberold.user.tag + "` updated" +
|
||||
(audit?.executor ? ` by \`${audit.executor.tag}\`` : ""))
|
||||
.setColor(getColor("blue"));
|
||||
if (emb.fields?.[0].name !== "Avatar")
|
||||
if (emb.fields?.[0]?.name !== "Avatar")
|
||||
emb.setFooter(emb.footer.text, NEWAV);
|
||||
if (!nullReason) {
|
||||
if (auditPerm) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue