fix say command perms
This commit is contained in:
parent
d16bec1336
commit
d1377b538d
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import { SlashCommandBuilder, Routes } from 'discord.js';
|
||||
import { SlashCommandBuilder, Routes, PermissionFlagsBits } from 'discord.js';
|
||||
import { REST } from '@discordjs/rest';
|
||||
import { getTags } from './tagsTags';
|
||||
|
||||
|
@ -44,7 +44,8 @@ import 'dotenv/config';
|
|||
.setName('content')
|
||||
.setDescription('Just content?')
|
||||
.setRequired(true)
|
||||
),
|
||||
)
|
||||
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers),
|
||||
].map((command) => command.toJSON());
|
||||
|
||||
const rest = new REST({ version: '10' }).setToken(process.env.DISCORD_TOKEN!);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue