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