Commit Graph

195 Commits

Author SHA1 Message Date
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
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
March 7th
ef134d996c refactor(ClientOptions): remove $ prefix from ws.properties keys
https://github.com/discordjs/discord.js/pull/8094
v13.8.1 go brrr
2022-06-16 20:20:15 +07:00
March 7th
007f0ef3b1 chore(release): version 2022-06-15 23:07:24 +07:00
March 7th
4ec46f014d feat(ClientUser): Add getMentions 2022-06-15 18:15:33 +07:00
March 7th
17a1a19f42 refactor(TextBasedChannel): sendSlash
Using REST API (without opcode 24, fix `command outdate` error)
2022-06-15 18:13:25 +07:00
March 7th
769cbb21d5 refactor(TextBasedChannel): sendSlash 2022-06-15 17:56:56 +07:00
March 7th
2edf7428d8 Update index.d.ts 2022-06-15 11:49:36 +07:00
March 7th
730762fc41 feat: add support for guild forums
No.2
2022-06-15 11:39:29 +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
c9f1010e54 fix: error
- Documents
- Enums
- Checkupdate function
- Update UserAgent
2022-06-11 20:13:52 +07:00
March 7th
50cce53975 feat(guild): add mfa error code 2022-06-08 10:56:09 +07:00
March 7th
305ccaac90 v2.2.0
Discord.js v13.8.0
2022-06-06 11:21:36 +07:00
March 7th
6d2cbb442a Remove user.presence
Error (clientUser.presence)
2022-06-04 14:59:55 +07:00
March 7th
852db8048b fix 2022-06-04 14:32:35 +07:00
March 7th
b0172e6b51 Add some UserFlags (Undocument) 2022-06-04 14:00:20 +07:00
March 7th
e3d842db53 Fix #121 and smail update 2022-06-04 13:26:53 +07:00
March 7th
f9ec41c9b6 Calling support (1) 2022-05-21 20:58:33 +07:00
March 7th
c201e7da69 Discord.js v13.7 2022-05-14 15:06:15 +07:00
March 7th
2b2c6e184c friend invite 2022-05-12 11:58:53 +07:00
March 7th
8355a8e135 maybe minor update ? 2022-05-11 20:19:04 +07:00
March 7th
da02043957 update setting 2022-05-03 14:15:02 +07:00
March 7th
25b2d9fdaa Login using QRcode 2022-05-03 12:29:10 +07:00
March 7th
615c772280 feat: <Message>.markUnread() #65
and script check update module .-.
2022-04-29 12:35:28 +07:00
March 7th
80115acecd New Event (userSettingsUpdate) 2022-04-29 12:12:50 +07:00
March 7th
ce37b72dc3 so... 1.3.92 ? 2022-04-27 20:58:06 +07:00
March 7th
7bf1213989 Update index.d.ts 2022-04-27 10:56:05 +07:00
March 7th
7c5da85670 update bio 2022-04-27 10:48:33 +07:00