fix: add requiresAdmin to tts-channel
This commit is contained in:
@@ -13,7 +13,7 @@ const builder = new SlashCommandBuilder()
|
|||||||
const cmd: Command = {
|
const cmd: Command = {
|
||||||
name: builder.name,
|
name: builder.name,
|
||||||
builder: builder,
|
builder: builder,
|
||||||
|
requiresAdmin: true,
|
||||||
execute: async (interaction: ChatInputCommandInteraction): Promise<void> => {
|
execute: async (interaction: ChatInputCommandInteraction): Promise<void> => {
|
||||||
await interaction.deferReply({ flags: MessageFlags.Ephemeral });
|
await interaction.deferReply({ flags: MessageFlags.Ephemeral });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user