From 6ebd5a741fb16bf43223030e5bb808c7a79a9dec Mon Sep 17 00:00:00 2001 From: Jack Allen Date: Tue, 23 Jan 2024 15:02:24 +0000 Subject: [PATCH] v1.9 --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 995f435..d9593d5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -27087,7 +27087,7 @@ function input(name, required = true, defaultValue = "") { trimWhitespace: true, required, }); - return value !== null && value !== void 0 ? value : defaultValue; + return value || defaultValue; } exports.input = input; function createMessage(message, username, avatar_url) {