This commit is contained in:
Ashley Graves 2024-10-10 08:46:32 +02:00
parent 61861604e0
commit 6edadf60ac

View file

@ -97,7 +97,7 @@ function formatTime(time) {
module.exports = { module.exports = {
data, data,
async execute(interaction) { 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 booru = interaction.options.getString("booru") ?? defaultBooru;
const nsfw = interaction.options.getBoolean("nsfw") ?? false; const nsfw = interaction.options.getBoolean("nsfw") ?? false;