Debug: Allow patreon debug with optional extUser
This commit is contained in:
@@ -156,11 +156,11 @@ module.exports = {
|
|||||||
break;
|
break;
|
||||||
case "patreon":
|
case "patreon":
|
||||||
interaction.editReply({
|
interaction.editReply({
|
||||||
content: `${JSON.stringify(user)}`,
|
content: `${JSON.stringify(extUser ? extUser : user)}`,
|
||||||
ephemeral: false
|
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));
|
interaction.channel.send(JSON.stringify(patreon));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user