Commit Graph

41 Commits

Author SHA1 Message Date
March 7th
035d933771 feat(SelectMenu): SelectMenu v2 2022-11-05 20:02:27 +07:00
March 7th
a6459f2c14 feat(TextChannel): add searchInteraction 2022-10-30 19:25:32 +07:00
March 7th
a141adf385 feat: awaitModal 2022-10-09 19:37:04 +07:00
March 7th
fecfa7d03b fix: lint
Merge pull request #339 from xD33m/patch-1
2022-10-08 17:58:31 +07:00
Lucas K
9e7a619c24
Fix slashCommand of type SUB_COMMAND_GROUP
I tried to run a slash command like this: this.channel.sendSlash(BOT_ID, 'trade item for_items', '1', 'itemName', 'True');

I ran into an exception saying "Cannot read properties of undefined (reading 'type')"

After debugging it, I got it working again with this small adjustment.
2022-10-06 22:31:11 +02:00
March 7th
11e2798ae5 Update
- Deps:
 + `discord-api-types`: `0.37.8` > `0.37.10`
 + `ws`: `8.8.1` > `8.9.0`
 + `string-similarity`: `4.0.4`
- Dev deps:
 + `eslint`: `8.23.0` > `8.24.0`
- Update @discordjs/voice
- fix(SendSlash): Error when fetch autocomplete data
- fix(MessageButton): Circular Dependencies
2022-09-28 19:40:46 +07:00
March 7th
d1382823fe feat(RelationshipManager): Add x-context-properties headers 2022-09-11 09:18:25 +07:00
March 7th
536c29f45c feat: Appliaction
- Refactor code
- Add `sendContextMenu` :v
2022-09-10 18:36:16 +07:00
March 7th
b870b51c11 chore(release): v2.6.2 2022-08-18 12:11:49 +07:00
Adam Chubbuck
80278d3e0d
Adds support for slash commands with no options 2022-08-17 21:26:25 -04:00
March 7th
f996bf0fae fix(SendSlash): Mix SubGroupCommand and SubCommand 2022-08-17 17:48:22 +07:00
March 7th
347caf9dce refactor(SendSlash): Perfect 🐛 2022-08-15 19:51:01 +07:00
March 7th
ffcade1811 Clean code
Ty https://github.com/DeepBlueSeaX
2022-08-04 22:13:01 +07:00
March 7th
855387a1da fix(sendSlash): Error with options
fixed #235
2022-08-03 21:37:10 +07:00
March 7th
8119666bcb fix(ESLint) 2022-08-01 13:02:58 +07:00
March 7th
8946f9ab35 feat(Slash): Optional value 2022-08-01 12:31:54 +07:00
March 7th
94c0ae135a fix(ApplicationCommandManager): allow passing 0n to defaultMemberPermissions (v13)
#8312 v13.9.1
2022-07-26 09:53:57 +07:00
March 7th
1a6b3addfe 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)
2022-07-12 19:30:18 +07:00
March 7th
010272fba7 Minor change (description)
- feat(ApplicationCommand): add `min_length` and `max_length` for string option (v13) #8217 (Djs v13.9)
- fix(Interaction): Button.click & Menu.select return Snowflake
- feat(MessagePayload): Send Activity message
2022-07-07 16:10:51 +07:00
Cinnamon
c097deeab4 dev(test) Test only 2022-06-26 11:53:37 +07:00
Cinnamon
3877bdf176 feat: partially backport perms v2 for v13
v13.9.0 :yay:
https://github.com/discordjs/discord.js/pull/8162
2022-06-24 09:14:55 +07:00
March 7th
007f0ef3b1 chore(release): version 2022-06-15 23:07:24 +07:00
March 7th
d2a766ef3b fix: comment code 2022-06-15 18:52:06 +07:00
March 7th
83c809cc32 fix(Event): name 2022-06-14 08:48:06 +07:00
March 7th
dd2912fb8d chore(release): version 2022-06-13 23:53:43 +07:00
March 7th
6b89f7c184 fix: SlashCommand sending TextChannel 2022-06-13 18:24:41 +07:00
March 7th
07d52ee41b fix: opcode 24 (Interaction search function)
Todo: Rewrite slash command ...
2022-06-12 19:13:12 +07:00
March 7th
83ce0a0f43 Update
- Warn msg
- Add `nonce` param (interaction)
2022-06-08 12:35:19 +07:00
March 7th
c201e7da69 Discord.js v13.7 2022-05-14 15:06:15 +07:00
March 7th
2a559f7d36 Eslint fix all 2022-04-16 19:01:05 +07:00
March 7th
522f7f756a copy eslint + tslint from Discord.js (v13) 2022-04-16 17:44:43 +07:00
Tropicallism
3bc4608535
Add files via upload 2022-04-11 04:14:16 +02:00
March 7th
76902bf8b2 Fix send Subcommand + new WebEmbed 2022-04-01 23:15:16 +07:00
March 7th
69bc495e81 Mistake
oh no
2022-03-31 20:51:43 +07:00
March 7th
9edf3ccda2 Fix Channel send Slash command
- Fix slash command with subcommand, choices , ...
2022-03-31 12:02:56 +07:00
March 7th
3eb27834af Update Slash
- Send Slash with sub command
2022-03-30 23:12:56 +07:00
March 7th
26c1e01a5f Update New Method 2022-03-28 20:46:18 +07:00
March 7th
f4c8489beb Working 2022-03-25 23:31:17 +07:00
March 7th
fd4a6fa509 Slash Command and Context Menu
- Doc. comming soon
2022-03-25 22:57:21 +07:00
March 7th
7dfdef46a5 Downgrade to v13
[vi] cảm giác đau khổ
2022-03-24 17:55:32 +07:00
March 7th
ac49705f3e Initial commit 2022-03-19 17:37:45 +07:00