From 2c2a9a224ceba8334e7069761cebe35513be5fea Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Mon, 17 Oct 2022 08:50:55 -0700 Subject: [PATCH] 13.0.4 fix Dismiss & Delete Invoice button --- commands/invoice.js | 2 +- config/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/invoice.js b/commands/invoice.js index 3919526..21d537b 100644 --- a/commands/invoice.js +++ b/commands/invoice.js @@ -240,7 +240,7 @@ module.exports = { let opt = new ActionRowBuilder() .addComponents(payButton); - if (GuildDB.canIgnoreInvoices) { + if (GuildDB.canDismissInvoices) { opt.addComponents( new ButtonBuilder() .setCustomId(`DeleteInvoice-${invoice.id}`) diff --git a/config/config.js b/config/config.js index a4a217a..1e962cf 100644 --- a/config/config.js +++ b/config/config.js @@ -2,7 +2,7 @@ require('dotenv').config(); module.exports = { Dev: "PROD.", - Version: "13.0.3", // (major).(feature).(revision/bug/refactoring) + Version: "13.0.4", // (major).(feature).(revision/bug/refactoring) Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot DefaultPrefix: "?", ServerID: "955668596745461830",