search command, kinda

This commit is contained in:
milo
2025-04-23 01:03:16 +02:00
parent 666d9d6172
commit 9258a013d2
3 changed files with 83 additions and 3 deletions

View File

@@ -124,6 +124,22 @@ const SKINS_COMMAND = {
contexts: [0, 2],
}
const ALL_COMMANDS = [TIMEOUT_COMMAND, INVENTORY_COMMAND, VALORANT_COMMAND, INFO_COMMAND, SKINS_COMMAND];
const SEARCH_SKIN_COMMAND = {
name: 'search',
description: 'Chercher un skin',
options: [
{
type: 3,
name: 'recherche',
description: 'Tu cherches quoi ?',
required: true,
},
],
type: 1,
integration_types: [0, 1],
contexts: [0, 2],
}
const ALL_COMMANDS = [TIMEOUT_COMMAND, INVENTORY_COMMAND, VALORANT_COMMAND, INFO_COMMAND, SKINS_COMMAND, SEARCH_SKIN_COMMAND];
InstallGlobalCommands(process.env.APP_ID, ALL_COMMANDS);