Skip to content

Commit 046467d

Browse files
committed
updated integration for commands
1 parent 056176e commit 046467d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "videonotifier",
33
"module": "src/index.ts",
44
"type": "module",
5-
"version": "1.2.3",
5+
"version": "1.2.4",
66
"devDependencies": {
77
"@types/bun": "1.1.6"
88
},

src/commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const commands: Record<string, Command> = {
159159
name: 'track',
160160
description: 'Track a channel to get notified when they upload a video!',
161161
integration_types: [0, 1],
162-
contexts: [0, 1, 2],
162+
contexts: [0, 1],
163163
},
164164
execute: async (interaction: CommandInteraction) => {
165165
// Get the YouTube Channel ID
@@ -360,7 +360,7 @@ const commands: Record<string, Command> = {
360360
name: 'untrack',
361361
description: 'Stop a channel from being tracked in this guild!',
362362
integration_types: [0, 1],
363-
contexts: [0, 1, 2],
363+
contexts: [0, 1],
364364
},
365365
execute: async (interaction: CommandInteraction) => {
366366
// Get the YouTube Channel ID

0 commit comments

Comments
 (0)