From 6edadf60ac7a0ddf999c35fe063fdbbae4c18c77 Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Thu, 10 Oct 2024 08:46:32 +0200 Subject: [PATCH] oops --- src/commands/fun/gelbooru.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/fun/gelbooru.js b/src/commands/fun/gelbooru.js index 5ab5329..8d1f3b1 100644 --- a/src/commands/fun/gelbooru.js +++ b/src/commands/fun/gelbooru.js @@ -97,7 +97,7 @@ function formatTime(time) { module.exports = { data, async execute(interaction) { - const tags = interaction.options.getString("tags").split(" "); + const tags = (interaction.options.getString("tags") ?? "").split(" "); const booru = interaction.options.getString("booru") ?? defaultBooru; const nsfw = interaction.options.getBoolean("nsfw") ?? false;