13.0.4 fix Dismiss & Delete Invoice button

This commit is contained in:
SowinskiBraeden committed 2022-10-17 08:50:55 -07:00
1 parent c427a5147f
commit 2c2a9a224c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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}`)