Skip to content

Commit 13688f4

Browse files
authored
fix(fart): allow everyone to use the command (#104)
1 parent e92c7c3 commit 13688f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/fart/fart.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SlashCommandBuilder } from 'discord.js';
1+
import { PermissionFlagsBits, SlashCommandBuilder } from 'discord.js';
22

33
import { createModule } from '../../core/createModule';
44

@@ -8,6 +8,7 @@ export const fart = createModule({
88
schema: new SlashCommandBuilder()
99
.setName('fart')
1010
.setDescription('Replies with https://prout.dev')
11+
.setDefaultMemberPermissions(PermissionFlagsBits.SendMessages)
1112
.toJSON(),
1213
handler: async (interaction) => {
1314
await interaction.reply('https://prout.dev');

0 commit comments

Comments
 (0)