Commit Graph

271 Commits

Author SHA1 Message Date
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
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
47d865db09 feat: add support for guild forums
waiting https://github.com/discordjs/discord.js/pull/7791
2022-06-15 11:34:03 +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
March 7th
6e5e4a35fd Fix Event document 2022-04-25 23:10:20 +07:00
Nguyễn Hồng Đức
4bada5b444 Fix Reddem 2022-04-25 20:22:24 +07:00
March 7th
817aa690ff Adding feature
voiceState.getPreview(): Return URL Image Stream .-.
2022-04-25 19:28:45 +07:00
March 7th
70637bb8d6 ClientSetting.setCustomStatus()
.-.
2022-04-16 22:56:18 +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
March 7th
7fc069f4b9 update sth 2022-04-16 11:59:23 +07:00
March 7th
7c7fc192ba 1.3.5
+ Fix Typescript
+ Add some websocket event
+ bla bla
2022-04-14 21:32:11 +07:00
Mavri
d778019b2e made intents optional in client constructor 2022-04-14 08:03:04 +03:00
March 7th
adf31ddf4a Bug
Bug report by Mavri#0001 [721347809667973141]
https://cdn.discordapp.com/attachments/962427657138602044/963878966953922630/unknown.png
2022-04-14 10:56:21 +07:00
March 7th
d78a10ed76 1.3.4
Get interaction commands using gateway
2022-04-12 20:46:25 +07:00
March 7th
f73525f278 1.3.3
Change logs:
+ New Event:
> relationshipAdd: user.id, type
> relationshipRemove: user.id
> client.relationships: RelationshipsManager
> User.relationships
> Update Document .-.
- DEPRECATED
> client.blocked
> client.friends
> clientUser.findFriend
> User.blocked
> User.friend
> some console.log()
2022-04-12 12:46:08 +07:00
March 7th
8688dbac8c 1.3.1
- Update Document
- Fix WebEmbed
- Fix MessagePayload
- Clear warn "Accessing non-existent property inside a circular dependency" (Pull #26)
2022-04-11 12:53:02 +07:00
March 7th
d900f7321c Update
1. Fix Interaction with ephemeral message
2. client.updateCookie()
3. clientUser.findFriend('test', 1234)
4. WebEmbed not working, sad
5. Update Document later ...
2022-04-10 19:03:40 +07:00
March 7th
f361bed628 Selfbot update
added headers to discord hard to detect selfbot
'x-fingerprint'
cookies
'x-super-properties'
2022-04-08 19:00:31 +07:00
March 7th
590a778c4a setCommunity mode 2022-04-08 12:02:46 +07:00
March 7th
26d9e4cbb9 mini update
- ClientUserSettingManager (Discum)
- Document (API version, Cookie, ...)
- x-super-properties header Request (Discum)
2022-04-05 19:01:20 +07:00
March 7th
54d0e9d272 Group DM channel
Feature list: Create, Add member, Remove member, fetchInvite, createInvite, setName, setIcon, send Message, leave .-.
2022-04-03 11:53:09 +07:00
March 7th
50516bf89d Update before publish to npm
Dev version
2022-04-01 20:09:32 +07:00
John Marlo
414c03af12
Merge branch 'main' into main 2022-04-01 20:44:16 +08:00
March 7th
5b0ebe175b Revert "Merge pull request #13 from lazuee/main"
This reverts commit fd7910de95, reversing
changes made to 44db21c06f.
2022-04-01 18:22:36 +07:00
John Marlo
3d4fc9d518
Update index.d.ts 2022-04-01 19:01:39 +08:00
John Marlo
dd372a2dd3
Update index.d.ts 2022-04-01 17:05:35 +08:00
John Marlo
6540a018e0
Update index.d.ts 2022-04-01 16:14:20 +08:00