From d10965d541c01b2d85a9873cdcbe16ffa41bfa59 Mon Sep 17 00:00:00 2001 From: Isaac Date: Mon, 31 Oct 2022 15:36:35 +0000 Subject: [PATCH] fix typo --- src/listeners/buttons/error.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/listeners/buttons/error.js b/src/listeners/buttons/error.js index ba3a2f8..e3abb4c 100644 --- a/src/listeners/buttons/error.js +++ b/src/listeners/buttons/error.js @@ -20,7 +20,7 @@ module.exports = class extends Listener { }) { const ref = require('crypto').randomUUID(); this.client.log.error.buttons(ref); - this.client.log.error.buttons(`"${button.name}" button execution error:`, error); + this.client.log.error.buttons(`"${button.id}" button execution error:`, error); let locale = null; if (interaction.guild) { locale = (await this.client.prisma.guild.findUnique({