From 20b67625e0ad8017306acd78577c9ab769a3d122 Mon Sep 17 00:00:00 2001 From: Arnav Gupta Date: Fri, 5 Jul 2024 19:47:45 +0530 Subject: [PATCH] better regs --- docs/bbb5/register.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/bbb5/register.html b/docs/bbb5/register.html index 9473bd4..370a9e4 100644 --- a/docs/bbb5/register.html +++ b/docs/bbb5/register.html @@ -383,11 +383,11 @@

Team Name

}); let finaldata = { - embeds: v.ref.length > 0 ? [{ + embeds: [{ title: `New Registration!`, - description: `Referral Code: ${v.ref}`, + description:v.ref.length > 0 ? `Referral Code: ${v.ref}` : "-", color: 0xff0000 - }] : [] + }] } events.forEach((event) => { var embed = {