Skip to content

Commit

Permalink
#patch added permission check to /summary
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaribsin committed Jun 25, 2024
1 parent ced212f commit cd26325
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/subscribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {subscribeEmbed} from '../handlers';
const command: Command = {
data: new SlashCommandBuilder()
.setName('subscribe')
.setDescription("Manage this server's notifications."),
.setDescription("Manage this server's notifications.")
.setDefaultMemberPermissions(8),
run: async interaction => {
const {embeds, components} = await subscribeEmbed(interaction);

Expand Down

0 comments on commit cd26325

Please sign in to comment.