Update app for user-installable apps (#52)

* update code for user-install

* readme
This commit is contained in:
shay
2024-07-29 11:38:57 -04:00
committed by GitHub
parent ae6b197475
commit 3a2892f2e2
3 changed files with 12 additions and 5 deletions

View File

@@ -22,6 +22,8 @@ const TEST_COMMAND = {
name: 'test',
description: 'Basic command',
type: 1,
integration_types: [0, 1],
contexts: [0, 1, 2],
};
// Command containing options
@@ -38,6 +40,8 @@ const CHALLENGE_COMMAND = {
},
],
type: 1,
integration_types: [0, 1],
contexts: [0, 2],
};
const ALL_COMMANDS = [TEST_COMMAND, CHALLENGE_COMMAND];