Commit Graph

323 Commits

Author SHA1 Message Date
March 7th
57d4628d2b types(ThreadEditOptions): Add appliedTags
#9022 djs
2023-01-08 14:32:25 +07:00
March 7th
10b4b69594 types(widget): Add missing name
#9031 djs
2023-01-08 14:28:30 +07:00
March 7th
6dcef09024 feat: GuildSettingManager
Co-Authored-By: Yellowy <64450187+TheDevYellowy@users.noreply.github.com>
2023-01-08 14:06:42 +07:00
Yellowy
79942b987e feat(guild): mute guild 2023-01-07 15:06:28 -07:00
March 7th
93c230150c typing: user avatar decoration 2023-01-06 19:55:37 +07:00
March 7th
9a7706fcf4 feat(WebSocketShard): support new resume url 2023-01-06 19:05:03 +07:00
March 7th
beee94c9bc feat(Guild): Add max_stage_video_channel_users
#8422 djs
2023-01-06 18:32:11 +07:00
March 7th
aa04fd7311 feat(GuildAuditLogs): Support after
#9012 djs
2023-01-06 18:14:41 +07:00
March 7th
27dca8890a feat: user avatar decoration
#9018 djs
2023-01-06 18:08:20 +07:00
March 7th
fe7e3b8fda types: Swap message reaction and emoji identifier types
#8970 djs
2023-01-06 17:39:46 +07:00
March 7th
cada44a37a feat: BillingManager (test)
guild boost
2023-01-05 18:42:17 +07:00
March 7th
c9d2d1bd18 feat: custom solve captcha function 2023-01-03 13:56:24 +07:00
March 7th
affcf5e166 feat: Update (see description)
```diff
+ fix: Discord Ban (invalid headers)
+ fix: acceptInvite not working (invalid captcha data)
+ feat: automod update
- feat: remove `nopecha`
- feat: remove Client#updateCookie & ClientOptions#autoCookie
```
2022-12-27 17:27:34 +07:00
March 7th
e407700865 fix: automod 2022-12-26 20:38:53 +07:00
March 7th
557a77e07b chore: deprecated resolveAutoArchiveMaxLimit, MAX option
see my commit in discord.js
2022-12-26 18:00:14 +07:00
March 7th
ebdd92240b feat(ForumChannel): setDefaultForumLayout & fix bug 2022-12-25 10:35:06 +07:00
March 7th
d75d457486 feat: premiumUsageFlags 2022-12-22 19:37:05 +07:00
TheDevYellowy
047c4d0005 refactor: add to index.d.ts & change MFACode type 2022-12-22 03:37:59 -08:00
March 7th
a32c7292df feat: DiscordAuthWebsocket support captcha handler #444 2022-12-22 14:53:27 +07:00
March 7th
1a26cc4c3e chore: v2.9.16 2022-12-20 22:51:10 +07:00
March 7th
294005bac7 feat: automod
#8886 djs
2022-12-20 22:46:50 +07:00
March 7th
98450be221 fix: #449 2022-12-20 22:20:09 +07:00
March 7th
42bcf8761f feat: new select menus
fix
2022-12-18 13:17:48 +07:00
March 7th
6ef8970a1e feat: User#mutualFriends 2022-12-13 14:55:51 +07:00
March 7th
cc86c9b4f1 fix: Modal reply response 2022-12-12 19:28:13 +07:00
March 7th
8b4924e147 feat: update (see description)
- Remove `bignumber.js`
- Fix `circular dependency`
- Fix: missing activity.name (SpotifyRPC)
- Refactor code
- Update UserAgent
2022-12-05 18:30:45 +07:00
March 7th
7a308f0383 feat: new captcha solver service 2022-12-04 16:38:15 +07:00
March 7th
63cd0b3ca8 chore: v2.9.11 2022-12-04 01:47:48 +07:00
March 7th
7d34a5de24 feat: Add new flags, new option for Message#selectMenu 2022-12-04 01:46:40 +07:00
March 7th
720848131d refactor: clickButton and selectMenu 2022-12-04 01:13:19 +07:00
March 7th
b191df3e99 feat: ClickButton with location 2022-12-02 18:29:57 +07:00
NekoCyan
e197656225 feat(Message): .clickButton() click the only one. 2022-12-02 13:11:55 +07:00
March 7th
c70dc733e2 feat: Using new attachment API 2022-11-27 19:45:58 +07:00
March 7th
f8a8ac7fc6 feat: add Message#bulkDeletable (v13)
#8761 djs
2022-11-26 22:17:33 +07:00
March 7th
69c5eb94d2 feat(InteractionResponses): add message parameter (v13)
#8838 djs
2022-11-26 22:02:34 +07:00
March 7th
c62c25de53 chore: v2.9.6
fix: guildMemberFetch (options.user)
2022-11-25 19:45:42 +07:00
March 7th
62c71950ac chore: v2.9.4
- fix fetchMemberList
2022-11-23 22:09:24 +07:00
March 7th
91d9a31761 typing: fix import class missing prop 2022-11-19 23:26:38 +07:00
March 7th
54ea46ce4b feat: ClientOptions#interactionTimeout 2022-11-19 17:59:52 +07:00
hocsinhgioitoan
84784ed441 doc: fix sleep return type 2022-11-19 09:45:12 +07:00
NekoCyan
094f43f762 docs: sleep. 2022-11-16 23:18:47 +07:00
March 7th
1adbddceda feat: Update 2022-11-15 20:06:03 +07:00
March 7th
41f414b13a feat: Update sendSlash (Attachments) 2022-11-12 17:39:56 +07:00
March 7th
f5de4de7c0 feat: Login Discord (email + password) 2022-11-08 23:56:17 +07:00
March 7th
7e4a3ccd57 fix: Package (read description)
- Security update
 + Update Discord Version
 + Update WS identify data
- Fix Captcha Handler
2022-11-08 13:27:44 +07:00
March 7th
328f95643d chore: release v2.8.13 2022-11-06 12:36:38 +07:00
March 7th
f671aa3899 feat(SelectMenu): SelectMenu v2
support channelType
2022-11-06 12:34:25 +07:00
March 7th
0975224da0 fix: sendSlash in dm channel 2022-11-06 12:05:18 +07:00
March 7th
a768fbf590 chore: release v2.8.12 2022-11-05 20:08:21 +07:00
March 7th
035d933771 feat(SelectMenu): SelectMenu v2 2022-11-05 20:02:27 +07:00
March 7th
04296bd6d1 chore: release v2.8.11 2022-11-04 19:46:05 +07:00
March 7th
b3eedc34be feat(CaptchaHandler): Must not use due to safety concerns 2022-11-04 18:40:19 +07:00
March 7th
0342a0c426 chore: release v2.8.9 2022-10-30 19:29:30 +07:00
March 7th
a6459f2c14 feat(TextChannel): add searchInteraction 2022-10-30 19:25:32 +07:00
March 7th
91ae4195a6 feat(DMChannel): Message request 2022-10-27 19:29:45 +07:00
March 7th
31e0de6a05 feat(GuildMember): set theme colors 2022-10-26 22:34:09 +07:00
March 7th
0c3d922096 chore: release v2.8.8
- User.themeColors
- Update ClientBuild
2022-10-26 19:38:09 +07:00
March 7th
db696d3e16 feat: new Nitro type
Nitro basic
2022-10-26 18:57:30 +07:00
March 7th
1c0aefd7ec typing: add CallOptions 2022-10-24 23:29:09 +07:00
NekoCyan
b5975f9c18 feat(ClientSettingManager): make right with the structure. 2022-10-10 20:27:39 +07:00
March 7th
97e2d155b9 chore: SortOrderType
54267f584a
2022-10-10 12:03:17 +07:00
March 7th
1ea40be065 chore(release): v2.8.0 2022-10-09 19:45:45 +07:00
March 7th
a141adf385 feat: awaitModal 2022-10-09 19:37:04 +07:00
March 7th
afcfd29a92 chore(release): v2.7.0 2022-10-03 19:30:49 +07:00
March 7th
2fb09d7da6 feat: Guild Forum channel
https://github.com/discordjs/discord.js/pull/8651
2022-10-03 19:25:39 +07:00
March 7th
a1acbf2721 Refactor Modal.reply 2022-09-29 19:45:22 +07:00
March 7th
7defc76498 Update discord version, user agent 2022-09-26 17:53:57 +07:00
March 7th
8fe25ff21a feat: message.clickButton support Button class 2022-09-26 17:38:17 +07:00
March 7th
419a695389 chore(release): v2.6.15
maybe fix #309 #306
2022-09-16 19:21:17 +07:00
March 7th
70cde7df55 feat: Update
- Event for GroupDM
- Friend nickname
#29
2022-09-16 19:08:15 +07:00
March 7th
37ca4593d3 types(GuildChannelManager): correct fetch return type (v13)
#8551 discord.js
2022-09-14 17:47:37 +07:00
March 7th
fe1f9911c5 fix: sendSlash search failure (>25 bot) 2022-09-11 09:39:57 +07:00
March 7th
536c29f45c feat: Appliaction
- Refactor code
- Add `sendContextMenu` :v
2022-09-10 18:36:16 +07:00
March 7th
fb71762d2d Update
- refactor: rename `RelationshipsManager` > `RelationshipManager`

- feat(RelationshipManager): add `friendCache`, `blockedCache`, `incomingCache`, `outgoingCache`

- feat(ClientApplication): Add `popularCommands`

- deps: Update
2022-09-09 23:44:45 +07:00
March 7th
af2a885f2a feat(GuildBanManager): Add deleteMessageSeconds
#8575 Discord.js v13.11
2022-09-04 18:31:39 +07:00
March 7th
16f6cb7327 add MESSAGE_CONTENT intent (v13)
#8580 Discord.js v13.11
2022-09-04 18:24:19 +07:00
March 7th
bbdf294330 refactor(GuildMemberManager): new Fetch method 2022-08-31 11:04:42 +07:00
March 7th
00a2b8aa5b feat(Client): Support Proxy
- https://github.com/discordjs/discord.js/issues/3039#issuecomment-1033955220
- #283
(not tested yet)

Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-29 11:10:47 +07:00
March 7th
da93f6364d refactor(RichPresence): getUUID, getExternal => static
Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-29 10:29:03 +07:00
March 7th
8a9d7e8713 feat(SessionManager): New feature from Discord 2022-08-25 18:20:00 +07:00
March 7th
1587b12d22 feat(ClientOptions): Add messageCreateEventGuildTimeout`
Increase timeout each time WS send

If you don't want a timeout, set it to `0`

Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-21 09:43:22 +07:00
March 7th
cbc3fbb7b8 feat(Client): ClientUserSettingManager => ClientSettingManager
client.setting => client.settings

...
2022-08-20 20:26:56 +07:00
March 7th
15f95626c6 feat(GroupDM): Add setOwner, handle event update
Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-19 18:16:11 +07:00
March 7th
9ce15990c1 feat(RemoteAuth): v2
- Change event name: `success` -> `finish`
- Event `closed` return `token`

Co-Authored-By: Nguyễn Hồng Đức <hongducyb123@gmail.com>
2022-08-18 20:04:00 +07:00
March 7th
b870b51c11 chore(release): v2.6.2 2022-08-18 12:11:49 +07:00
March 7th
f675d2dd58 types(ModalMessageModalSubmitInteraction): channelId is not nullable (v13)
#8505
2022-08-17 17:46:24 +07:00
March 7th
347caf9dce refactor(SendSlash): Perfect 🐛 2022-08-15 19:51:01 +07:00
March 7th
e56b1bb702 docs: fix broken discord support link
#8485 discord.js v13.11
2022-08-14 17:17:37 +07:00
March 7th
bb24adc1dc feat(Call): Get users in dm call 2022-08-14 17:16:51 +07:00
March 7th
97f1c41232 docs: Update ConnectionAccount 2022-08-11 10:52:43 +07:00
March 7th
c6f5550c6e fix(ThreadChannel): Handle possibly null parent (v13)
#8467 djs v13.10
2022-08-11 09:57:15 +07:00
March 7th
19fc481496 types(Message): correct bulkDelete return type (v13)
#8469 djs v13.10
2022-08-11 09:54:55 +07:00
March 7th
de5fe927a3 fix(User): Profile data (API) change
- Add GuildMember bio, banner, ...
2022-08-09 10:42:30 +07:00
hocsinhgioitoan
bf73ac4b3c feat(Guild): Add max_video_channel_users 2022-08-08 22:08:24 +07:00
March 7th
54e1dbb6b0 feat(GuildMember): Support edit guild Avatar, Banner, Bio 2022-08-04 19:26:16 +07:00
March 7th
6273cd75f7 fix: ESLint 2022-08-03 19:50:41 +07:00
March 7th
288d295f8a feat(messageAck) New Event
#233 .-.
2022-08-03 19:34:58 +07:00
March 7th
196c03f8cc refactor: clean code
@TheDevYellowy  :))
2022-08-03 19:08:32 +07:00
TheDevYellowy
8797069acf feat(Guild): mark as read; 2022-08-02 00:26:12 -05:00
TheDevYellowy
8fc282f2eb change permissions to bigint 2022-08-01 10:05:39 -05:00
TheDevYellowy
6028e2a63d change returns to null 2022-08-01 09:57:56 -05:00
TheDevYellowy
7129d63d81
Merge branch 'aiko-chan-ai:main' into main 2022-08-01 07:56:23 -07:00
TheDevYellowy
8bccb552db it works but we may need a captcha key 2022-08-01 09:55:30 -05:00
March 7th
cde18dc37e fix(MessageMentions): ignoreRepliedUser option in has() (v13)
#8365 v13.9.2
2022-08-01 12:37:46 +07:00
March 7th
4be5656f3d fix(ClientUser): Method (require nitro) not work 2022-08-01 12:31:18 +07:00
TheDevYellowy
1f587eff99 move the invite function to Application 2022-07-31 00:42:51 -05:00
TheDevYellowy
f95436f44b bot inviting is somewhat working 2022-07-30 05:22:31 -05:00
March 7th
a3f8f9f0fa refactor(embed): deprecate addField
#8318 v13.9.1
2022-07-26 09:57:57 +07:00
March 7th
eb1aa1458d feat(Client): Add authorizeURL method 2022-07-23 19:21:37 +07:00
March 7th
4710329beb feat(RichPresence): Support RPC Discord Apps (IPC) [2] 2022-07-23 18:56:49 +07:00
March 7th
97db955466 feat(Relationships): Change enum 2022-07-23 18:55:53 +07:00
March 7th
f7db2384b9 feat(RelationshipsManager): new cancelFriendRequest method
Extends (add Typings)
2022-07-19 20:27:32 +07:00
NekoCyan
844f83148c fix(NitroType): format 2022-07-19 02:36:28 +07:00
March 7th
0e38d4caf7 docs: add new HTTP Error Codes 50068 (v13)
#8273 v13.9.0
2022-07-18 00:56:30 +07:00
March 7th
84aa682bf6 feat(MessageManager): Add offset and limit (search method) 2022-07-17 22:26:50 +07:00
March 7th
600df364f4 fix: see description
- Spell Check
- Rewrite Docs
- Rewrite Enums
2022-07-17 17:52:28 +07:00
March 7th
f0b45f981e chore(release): v2.3.8 2022-07-16 16:37:41 +07:00
March 7th
83a064e689 fix(RPC): Invalid data 2022-07-16 15:43:11 +07:00
March 7th
156cdd4918 feat(VoiceState): add user prop. 2022-07-16 00:50:27 +07:00
March 7th
93d875c237 fix: Fetch message from NSFW Channel
fix #203
2022-07-15 21:35:23 +07:00
March 7th
d09b7a7bf5 typing: method for User 2022-07-15 17:41:26 +07:00
March 7th
98467dc92d typing: replace respond data 2022-07-15 17:35:01 +07:00
March 7th
fad6d708b4 chore(release): v2.3.75
- fix: VoiceStateUpdate event not working (DM channels + Group DM channels)
- docs: add sendSlash method
- feat: Add new Event: callCreate, callUpdate, callDelete
- fix(GroupDM): method require Class
2022-07-15 17:26:25 +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
ec809a0f95 fix(Typing): Event name
ERROR: 176:13  unified-signatures  This overload and the one on line 175 can be combined into one signature taking `'cancel' | 'pending'`.
2022-07-11 15:07:12 +07:00
March 7th
b1257bc62d fix: Export, Typing, etc.
- Rename `RemoteAuth` > `DiscordAuthWebsocket`
- Add new method: Client.remoteAuth() & Client.createToken()
- fix: RedeemNitro (wrong Regex)
2022-07-11 15:04:07 +07:00
March 7th
aae4b3d1d9 chore(release): v2.3.7
- docs: Add `MessageActivityType` (v13) #8257
- Developer Portal control support (create, delete)
- Application: create bot, reset secret, token, delete, edit, assets
2022-07-10 16:26:40 +07:00
March 7th
536a86a5f3 Minor update
- feat(Client): redeemNitro & autoRedeemNitro
- fix(Modal): Reply modal bug
- fix(RichPresence): setAssetsImage bug
- refactor(RichPresence): Clean code
2022-07-09 19:47:00 +07:00
TheDevYellowy
7d42d08cdb feat(Client) Split redeemNitro and autoRedeemNitro 2022-07-09 05:40:02 -05:00
TheDevYellowy
4e52655c08 add auto nitro redeeming 2022-07-09 05:07:01 -05:00
March 7th
6e20cbb592 docs: Add MessageActivityType (v13) 2022-07-09 12:31:42 +07:00
March 7th
b17ae69c1e fix(PurchasedFlags): wrong 2022-07-08 00:23:41 +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
March 7th
fd17a6a6f0 refactor(RichPresence): for Selfbot 2022-07-07 01:42:21 +07:00
March 7th
1a656854c0 fix(applicationcommandmanager): explicitly allow passing builders to methods (v13)
v13.9 #8229
2022-07-06 19:40:11 +07:00
March 7th
f3a8c3a666 types(GuildMemberManager): Non-void return of edit() (v13)
v13.9 #8187
2022-07-04 12:17:37 +07:00
Cinnamon
b672427756 fix(WS): Get gateway data 2022-07-02 09:52:24 +07:00
Cinnamon
533c1c55a7 docs(constants): document missing constants
v13.9.0 #8168
2022-07-01 10:32:37 +07:00
Cinnamon
d60132a011 feat(interaction): add appPermissions (v13)
v13.9.0 #8195
2022-07-01 10:02:36 +07:00
Cinnamon
354fe2a7be types: add missing shard types (v13)
v13.9.0 #8192
2022-07-01 09:59:57 +07:00
Cinnamon
0d8ac2a57c fix(typing) WebEmbed 2022-06-27 14:00:05 +07:00
Cinnamon
736238f3df chore(release): version 2022-06-26 13:40:26 +07:00
Cinnamon
cd70a91aaa fix(READY): Log and typing 2022-06-25 10:28:31 +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
Cinnamon
4c0dfadc05 fix(VoiceChannel): NSFW property (v13)
https://github.com/discordjs/discord.js/pull/8161
v13.8.1
2022-06-24 08:50:57 +07:00
Cinnamon
55cbc37785 typings(Shard#reconnecting): Backport to v13 - Fix event name
https://github.com/discordjs/discord.js/pull/8126
v13.8.1
2022-06-24 08:44:07 +07:00
March 7th
57d839e8be types(GuildChannel): fix type of .isText() method
v13.8.1
https://github.com/discordjs/discord.js/milestone/18
2022-06-17 12:52:53 +07:00
March 7th
5e0eabd0e9 fix(AuditLog): default changes to empty array
v13.8.1
2022-06-17 12:50:32 +07:00
March 7th
1cf045050c types(AutocompleteOption): backport fix and improve types
v13.8.1
2022-06-17 12:48:45 +07:00
March 7th
150e86a074 refactor(ClientOptions): deprecate $ prefix from ws.properties keys
v13.8.1
2022-06-17 12:41:55 +07:00