unrestricted pronounce!!!
This commit is contained in:
parent
ca0d5c911c
commit
1b6f23d75f
|
@ -1,6 +1,5 @@
|
||||||
import { RoleCreateOptions, GuildMember, CommandInteraction, SlashCommandBuilder } from 'discord.js';
|
import { RoleCreateOptions, GuildMember, CommandInteraction, SlashCommandBuilder } from 'discord.js';
|
||||||
import { pronouns, PRONOUN_ROLE_SEPERATOR } from '../lib/assignableRoles';
|
import { pronouns, PRONOUN_ROLE_SEPERATOR } from '../lib/assignableRoles';
|
||||||
import { knownServers } from '../lib/knownServers';
|
|
||||||
import * as log from '../lib/log';
|
import * as log from '../lib/log';
|
||||||
import { Command } from '../types/index';
|
import { Command } from '../types/index';
|
||||||
|
|
||||||
|
@ -18,9 +17,8 @@ export default {
|
||||||
.setDescription('Pronoun to add. If you already have a pronoun, you can specify it to remove it.')
|
.setDescription('Pronoun to add. If you already have a pronoun, you can specify it to remove it.')
|
||||||
.setRequired(true)
|
.setRequired(true)
|
||||||
.setChoices(...Array.from(pronouns.values()).map(extendOption))
|
.setChoices(...Array.from(pronouns.values()).map(extendOption))
|
||||||
),
|
)
|
||||||
|
.setDefaultPermission(0),
|
||||||
serverWhitelist: [...knownServers.firepit],
|
|
||||||
|
|
||||||
execute: async (interaction: CommandInteraction) => {
|
execute: async (interaction: CommandInteraction) => {
|
||||||
if (!interaction.isChatInputCommand()) return;
|
if (!interaction.isChatInputCommand()) return;
|
||||||
|
|
Loading…
Reference in New Issue