nyx

The first CODM discrod bot -- cath.exe Template
git clone https://codeberg.org/night0721/nyx
Log | Files | Refs | LICENSE

commit a5e78a23c4cec8a41c90eee3d203c11fc8700a15
parent 6381a49bdd3d928908a76fc82a44e78113457447
Author: night0721 <[email protected]>
Date:   Tue,  8 Feb 2022 20:10:53 +0800

updated links

Diffstat:
Mutil/Data/domains.json | 4++++
Mutil/functions/common.js | 3++-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git 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 @@ -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]]); }