Let user optout when the bot is installed to the user

Slash-V14
Supositware 3 months ago
parent a86044c7f6
commit 427d3449d5

@ -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 } });

Loading…
Cancel
Save