From 427d3449d54f3c197dd62e22425d24263592c3ba Mon Sep 17 00:00:00 2001 From: Supositware Date: Tue, 25 Jun 2024 18:04:33 +0200 Subject: [PATCH] Let user optout when the bot is installed to the user --- commands/utility/optout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/utility/optout.js b/commands/utility/optout.js index 457560a..0a560fc 100644 --- a/commands/utility/optout.js +++ b/commands/utility/optout.js @@ -6,6 +6,8 @@ export default { .setName('optout') .setDescription('Opt out of the non commands features and arguments logging (for debugging purposes)'), category: 'utility', + integration_types: [0, 1], + async execute(interaction, args, client) { const isOptOut = await db.optout.findOne({ where: { userID: interaction.user.id } });