diff --git a/src/command/commands/del_nick_super.ts b/src/command/commands/del_nick_super.ts index 1e5e062..8225afb 100755 --- a/src/command/commands/del_nick_super.ts +++ b/src/command/commands/del_nick_super.ts @@ -50,7 +50,7 @@ export default { .get(); if (!the_member.empty) { the_member.forEach((member) => { - members.doc(member.id).delete(); + member.ref.delete(); }); let discord_tag: string; diff --git a/src/command/commands/del_user_super.ts b/src/command/commands/del_user_super.ts index 382c724..689c4d6 100755 --- a/src/command/commands/del_user_super.ts +++ b/src/command/commands/del_user_super.ts @@ -30,7 +30,7 @@ export default { if (!should_remove.empty) { should_remove.forEach((item) => { - members.doc(item.id).delete(); + item.ref.delete(); }); let discord_tag;