From a5e78a23c4cec8a41c90eee3d203c11fc8700a15 Mon Sep 17 00:00:00 2001 From: night0721 Date: Tue, 8 Feb 2022 20:10:53 +0800 Subject: [PATCH] updated links --- util/Data/domains.json | 4 ++++ util/functions/common.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/util/Data/domains.json b/util/Data/domains.json index eb37615..0b0ea58 100644 --- a/util/Data/domains.json +++ b/util/Data/domains.json @@ -1,5 +1,9 @@ { "scam": [ + "discode.gift", + "discosb.gift", + "discorx.gift", + "disocrds.gift", "disocrde.gift", "discrods.gift", "discordsgift.com", diff --git a/util/functions/common.js b/util/functions/common.js index d9d50a9..760d84a 100644 --- a/util/functions/common.js +++ b/util/functions/common.js @@ -345,7 +345,7 @@ function attachmentsIdentifier(inpmsg, gun) { probables[probables.length - 1].length != 1 || probables.length < splitInputAttachmentsName.length ) { - // ask the user if he/she means xxx = which attachment + // ask the user if he means xxx = which attachment errors.push( `\` ${curr @@ -358,6 +358,7 @@ function attachmentsIdentifier(inpmsg, gun) { "\`` ); } + // push the attachment to the output list outAttachments.push(gun.aments[probables[probables.length - 1][0]]); }