We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e92c7c3 commit 13688f4Copy full SHA for 13688f4
src/modules/fart/fart.module.ts
@@ -1,4 +1,4 @@
1
-import { SlashCommandBuilder } from 'discord.js';
+import { PermissionFlagsBits, SlashCommandBuilder } from 'discord.js';
2
3
import { createModule } from '../../core/createModule';
4
@@ -8,6 +8,7 @@ export const fart = createModule({
8
schema: new SlashCommandBuilder()
9
.setName('fart')
10
.setDescription('Replies with https://prout.dev')
11
+ .setDefaultMemberPermissions(PermissionFlagsBits.SendMessages)
12
.toJSON(),
13
handler: async (interaction) => {
14
await interaction.reply('https://prout.dev');
0 commit comments