From 31bb2512ecfea37cd0173fee3e3cf76fbc0af745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Gro=C3=9F?= Date: Mon, 13 Mar 2023 14:41:46 +0100 Subject: [PATCH] Debug: Allow patreon debug with optional extUser --- commands/debug.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/debug.js b/commands/debug.js index db98563..ae4618e 100644 --- a/commands/debug.js +++ b/commands/debug.js @@ -156,11 +156,11 @@ module.exports = { break; case "patreon": interaction.editReply({ - content: `${JSON.stringify(user)}`, + content: `${JSON.stringify(extUser ? extUser : user)}`, ephemeral: false }); - let patreon = await UserUtils.getPatreonPerks(interaction.client, user); + let patreon = await UserUtils.getPatreonPerks(interaction.client, extUser ? extUser : user); interaction.channel.send(JSON.stringify(patreon)); break; default: