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;