Compare commits

..

No commits in common. "1edb4d8fef4dfe00fcd2a1880c2de18e8d7faa1d" and "009f365728660a4f13e3325739b468e3f68914ae" have entirely different histories.

3 changed files with 1 additions and 9 deletions

View file

@ -4,7 +4,7 @@ import db from '../../models/index.js';
export default {
data: new SlashCommandBuilder()
.setName('optout')
.setDescription('Opt out of the non commands features.'),
.setDescription('Opt out of the quotation command.'),
category: 'utility',
async execute(interaction, args, client) {
const isOptOut = await db.optout.findOne({ where: { userID: interaction.user.id } });

View file

@ -1,6 +1,5 @@
import { EmbedBuilder } from 'discord.js';
import fs from 'node:fs';
import db from '../../models/index.js';
global.boards = {};
export default {
@ -20,9 +19,6 @@ export default {
});
}
const isOptOut = await db.optout.findOne({ where: { userID: reaction.message.author } });
if (isOptOut) return;
let starboardChannel, shameboardChannel;
let reactionCount = reaction.count;

View file

@ -1,6 +1,5 @@
import { EmbedBuilder } from 'discord.js';
import fs from 'node:fs';
import db from '../../models/index.js';
global.boards = {};
export default {
@ -20,9 +19,6 @@ export default {
});
}
const isOptOut = await db.optout.findOne({ where: { userID: reaction.message.author } });
if (isOptOut) return;
let starboardChannel, shameboardChannel;
let reactionCount = reaction.count;