Skip to content

Commit

Permalink
remove /sync from user-installable commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Pukimaa committed Apr 17, 2024
1 parent 1bdeb17 commit f4dc6c2
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-pens-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tako": patch
---

Remove `/sync` (bot owner command) from user-installable commands.
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@repo/typescript-config": "1.0.0"
},
"changesets": [
"brown-pens-play",
"calm-apricots-look",
"itchy-goats-kick",
"quiet-dogs-do",
Expand Down
8 changes: 8 additions & 0 deletions apps/tako/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# tako

## 2.0.0-alpha.9

### Patch Changes

- Remove `/sync` (bot owner command) from user-installable commands.

## 2.0.0-alpha.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/tako/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tako",
"version": "2.0.0-alpha.8",
"version": "2.0.0-alpha.9",
"private": true,
"type": "module",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions apps/tako/src/commands/secret/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default {
slashCommandTranslator('sync.description', 'secret'),
)
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
.setDMPermission(false)
.toJSON(),
async execute(interaction) {
await interaction.deferReply({ ephemeral: true });
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"start": "turbo start",
"lint": "turbo lint",
"format": "turbo format",
"db:generate": "turbo run generate"
"db:generate": "turbo run generate",
"changeset": "changeset",
"bump": "changeset version",
"release": "changeset publish"
},
"devDependencies": {
"@repo/typescript-config": "1.0.1-alpha.0",
Expand Down

0 comments on commit f4dc6c2

Please sign in to comment.