From ca0d5c911c5bf94140cb97812fbb95eeca657865 Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Mon, 27 Nov 2023 15:12:37 +0300 Subject: [PATCH] unrestricted color!!! --- src/commands/color.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/commands/color.ts b/src/commands/color.ts index 318ecd8..a2179ad 100644 --- a/src/commands/color.ts +++ b/src/commands/color.ts @@ -1,7 +1,6 @@ import { RoleCreateOptions, GuildMember, CommandInteraction, EmbedBuilder, TextChannel, ActionRowBuilder, ButtonBuilder, ButtonStyle, SlashCommandBuilder } from 'discord.js'; import { default as parseColor, Color } from 'parse-color'; import { isColorRole, COLOR_ROLE_SEPERATOR } from '../lib/assignableRoles'; -import { knownServers } from '../lib/knownServers'; import * as log from '../lib/log'; import { Command } from '../types/index'; @@ -46,9 +45,8 @@ export default { ) .addBooleanOption((option) => option.setName('preview').setDescription('Preview the color instead of applying it') - ), - - serverWhitelist: [...knownServers.firepit], + ) + .setDefaultPermission(0), execute: async (interaction: CommandInteraction) => { if (!interaction.isChatInputCommand()) return;