ts settings update and fix

This commit is contained in:
404invalid-user 2025-01-18 14:46:30 +00:00
parent 666638c956
commit 0a8017af72
21 changed files with 45 additions and 64 deletions

View file

@ -1,6 +1,6 @@
import { Client, ChatInputCommandInteraction, PermissionFlagsBits, SlashCommandBuilder } from "discord.js";
//@ts-expect-error
import YALAS from 'mcstatusbot-logger';
import * as AddReactionRole from './reactionrole/add';
@ -9,9 +9,7 @@ import { GuildInstance } from "../../database/schemas/Guild";
import { UserInstance } from "../../database/schemas/User";
const data = {
serverOnly: false,
guildId: null,
allowSuspendedUserAccess: true,
allowSuspendedUserAccess: false,
command: new SlashCommandBuilder()
.setName('reactionrole')
.setDefaultMemberPermissions(PermissionFlagsBits.ManageRoles)