refactor(Interaction): See description

- Change the data returned when interacting, from `nonce: Snowflake` to `data: InteractionResponseBody` (use try catch to detect command errors)
- Full support for Autocomplete (Automatically selects the first option)
This commit is contained in:
March 7th
2022-07-12 19:30:18 +07:00
parent ec809a0f95
commit 1a6b3addfe
14 changed files with 198 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "discord.js-selfbot-v13",
"version": "2.3.71",
"version": "2.3.72",
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
"main": "./src/index.js",
"types": "./typings/index.d.ts",
@@ -17,7 +17,7 @@
"lint:all": "npm run lint && npm run lint:typings",
"docs": "docgen --source src --custom docs/index.yml --output docs/main.json",
"docs:test": "docgen --source src --custom docs/index.yml",
"build": "npm i && npm run lint:fix && npm run lint:typings:fix && npm run format && npm run docs"
"build": "npm run lint:fix && npm run lint:typings:fix && npm run format && npm run docs"
},
"files": [
"src",