From bef69fc50bd9745837c30112bc061ef320132fe5 Mon Sep 17 00:00:00 2001 From: Saahil Date: Fri, 3 Jan 2025 21:27:26 -0500 Subject: [PATCH] fix: no blanks --- src/commands/binstuff.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/commands/binstuff.ts b/src/commands/binstuff.ts index 0bc3124..b54f18f 100644 --- a/src/commands/binstuff.ts +++ b/src/commands/binstuff.ts @@ -47,8 +47,10 @@ export default class UUID implements Command { e.elements .filter((e) => e.type == "text") .map((e) => e.text) - .join(""), - ); + .join("") + ) + .map((e) => e.trim()) + .map(Boolean); for (const c of contents) { //@ts-ignore const contentToUpload = c;