Let user optout when the bot is installed to the user
This commit is contained in:
parent
a86044c7f6
commit
427d3449d5
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue